Commit 193871b7 by jianglong

Merge branch 'develop' of http://192.168.0.110:11080/isc-v3.1/isc-funds into develop

parents 1d6ab117 2abc28f0
...@@ -120,9 +120,9 @@ public class FttfmtSettleRegister implements ISettleRegister { ...@@ -120,9 +120,9 @@ public class FttfmtSettleRegister implements ISettleRegister {
dsp,"C",acc1,""); dsp,"C",acc1,"");
// ftdgrp.getCbs().getIns().getAmt() => getIntamt() // ftdgrp.getCbs().getIns().getAmt() => getIntamt()
dbtKey2 = setglgService.setglgAddAmount(setglgVo,"TRN","TRO",setmodVo.getDoccur(), dbtKey2 = setglgService.setglgAddAmount(setglgVo,"TRN","TRO",setmodVo.getDoccur(),
ftdgrp.getCbs().getIns().getAmt(), "","FID","C","",""); ftdgrp.getCbs().getIns().getAmt(), "","FBD","C","","");
cdtKey = setglgService.setglgAddAmount(setglgVo,"TRN","TRO",setmodVo.getDoccur(),setmodVo.getSetamt().negate(),"", cdtKey = setglgService.setglgAddAmount(setglgVo,"TRN","TRO",setmodVo.getDoccur(),setmodVo.getSetamt().negate(),"",
"PAC","C","",""); "FBD","C","","");
setmodVo.setFeeclirol("TRO"); setmodVo.setFeeclirol("TRO");
break; break;
} }
......
...@@ -118,6 +118,7 @@ public class FttfmtTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -118,6 +118,7 @@ public class FttfmtTransactionServiceImpl extends AbstractTransactionService<Ftt
@Override @Override
protected Map<String, String> txnCheck(FttfmtStoreBo transactionVo) { protected Map<String, String> txnCheck(FttfmtStoreBo transactionVo) {
transactionVo.getFtdgrp().getCbs().getOpn2().setAmt(transactionVo.getFtdgrp().getCbs().getMax().getAmt().add(transactionVo.getFtdgrp().getCbs().getIns().getAmt()));
return fttfmtValidator.validate(transactionVo); return fttfmtValidator.validate(transactionVo);
} }
...@@ -155,6 +156,7 @@ public class FttfmtTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -155,6 +156,7 @@ public class FttfmtTransactionServiceImpl extends AbstractTransactionService<Ftt
fttfmtStoreBo.setFtdgrp(ftdgrpVo); fttfmtStoreBo.setFtdgrp(ftdgrpVo);
fttfmtStoreBo.getFtdgrp().getRec().setRat(ftdgrpVo.getRec().getRat()); fttfmtStoreBo.getFtdgrp().getRec().setRat(ftdgrpVo.getRec().getRat());
fttfmtStoreBo.getFtdgrp().getRec().setMatdat(ftdgrpVo.getRec().getMatdat()); fttfmtStoreBo.getFtdgrp().getRec().setMatdat(ftdgrpVo.getRec().getMatdat());
fttfmtStoreBo.getFtdgrp().getCbs().getIns().setAmt(fttfmtStoreBo.getFtdgrp().getCbs().getMax().getAmt().multiply(ftdgrpVo.getRec().getRat()));
init950(fttfmtStoreBo); init950(fttfmtStoreBo);
init1000(fttfmtStoreBo); init1000(fttfmtStoreBo);
return fttfmtStoreBo; return fttfmtStoreBo;
...@@ -162,8 +164,6 @@ public class FttfmtTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -162,8 +164,6 @@ public class FttfmtTransactionServiceImpl extends AbstractTransactionService<Ftt
private void init950(FttfmtStoreBo fttfmtStoreBo) { private void init950(FttfmtStoreBo fttfmtStoreBo) {
} }
private void init1000(FttfmtStoreBo fttfmtStoreBo) { private void init1000(FttfmtStoreBo fttfmtStoreBo) {
......
...@@ -133,6 +133,8 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -133,6 +133,8 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt
bizInfoVo.setEtyextkey(rec.getEtyextkey()); bizInfoVo.setEtyextkey(rec.getEtyextkey());
bizInfoVo.setBranchInr(rec.getBranchinr()); bizInfoVo.setBranchInr(rec.getBranchinr());
bizInfoVo.setValdat(rec.getValdat()); bizInfoVo.setValdat(rec.getValdat());
bizInfoVo.setMsgtyp(transactionVo.getFttp().getMsgtyp());
return bizInfoVo; return bizInfoVo;
} }
@Override @Override
...@@ -184,6 +186,9 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -184,6 +186,9 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt
public void init1000(FttpcmStoreBo bo) { public void init1000(FttpcmStoreBo bo) {
// bo.getFtdgrp().getCbs().getMax().setCur(xrtmodService.sysiso()); // bo.getFtdgrp().getCbs().getMax().setCur(xrtmodService.sysiso());
if( ! sysmodService.sptIsAnyLoaded(bo.getSpt().getSta()) ){
bo.getFttp().setMsgtyp( "202");
}
if (bo.getFtdgrp().getRec().getOpndat() ==null ){ if (bo.getFtdgrp().getRec().getOpndat() ==null ){
bo.getFtdgrp().getRec().setOpndat(Dates.today()); bo.getFtdgrp().getRec().setOpndat(Dates.today());
......
...@@ -2,7 +2,7 @@ package com.brilliance.isc.funds.bo.funds; ...@@ -2,7 +2,7 @@ package com.brilliance.isc.funds.bo.funds;
import com.brilliance.isc.bo.model.Ftdgrp; import com.brilliance.isc.bo.model.Ftdgrp;
import com.brilliance.isc.bo.model.Fttp; import com.brilliance.isc.bo.model.Fttp;
import com.brilliance.isc.common.transaction.vo.BaseTransactionVo; import com.brilliance.isc.common.setmod.vo.SetmodVo;import com.brilliance.isc.common.transaction.vo.BaseTransactionVo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data; import lombok.Data;
...@@ -11,6 +11,7 @@ import lombok.Data; ...@@ -11,6 +11,7 @@ import lombok.Data;
public class FttpcmStoreBo extends BaseTransactionVo { public class FttpcmStoreBo extends BaseTransactionVo {
private Ftdgrp ftdgrp; private Ftdgrp ftdgrp;
private SetmodVo setmodVo;
private Fttp fttp; private Fttp fttp;
@Override @Override
public void reset(){ public void reset(){
...@@ -24,5 +25,9 @@ public class FttpcmStoreBo extends BaseTransactionVo { ...@@ -24,5 +25,9 @@ public class FttpcmStoreBo extends BaseTransactionVo {
fttp = new Fttp(); fttp = new Fttp();
} }
fttp.reset(); fttp.reset();
if (setmodVo == null){
setmodVo = new SetmodVo();
}
setmodVo.reset();
} }
} }
...@@ -4,7 +4,7 @@ import com.brilliance.isc.bo.model.Ftdgrp; ...@@ -4,7 +4,7 @@ import com.brilliance.isc.bo.model.Ftdgrp;
import com.brilliance.isc.bo.model.Fttp; import com.brilliance.isc.bo.model.Fttp;
import com.brilliance.isc.bo.model.Fxdgrp; import com.brilliance.isc.bo.model.Fxdgrp;
import com.brilliance.isc.bo.model.Fxtp; import com.brilliance.isc.bo.model.Fxtp;
import com.brilliance.isc.common.transaction.vo.BaseTransactionVo; import com.brilliance.isc.common.setmod.vo.SetmodVo;import com.brilliance.isc.common.transaction.vo.BaseTransactionVo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data; import lombok.Data;
...@@ -15,7 +15,7 @@ public class FttpcmStoreVo extends BaseTransactionVo { ...@@ -15,7 +15,7 @@ public class FttpcmStoreVo extends BaseTransactionVo {
private Ftdgrp ftdgrp; private Ftdgrp ftdgrp;
private Fttp fttp; private Fttp fttp;
private SetmodVo setmodVo;
@Override @Override
public void reset() { public void reset() {
super.reset(); super.reset();
...@@ -28,6 +28,10 @@ public class FttpcmStoreVo extends BaseTransactionVo { ...@@ -28,6 +28,10 @@ public class FttpcmStoreVo extends BaseTransactionVo {
fttp = new Fttp(); fttp = new Fttp();
} }
fttp.reset(); fttp.reset();
if (setmodVo == null){
setmodVo = new SetmodVo();
}
setmodVo.reset();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment