Commit 62dfa1dd by zhoujunpeng

Fttpcn修改

parent d89775c7
...@@ -44,7 +44,7 @@ public class FttpcmSettleRegister implements ISettleRegister { ...@@ -44,7 +44,7 @@ public class FttpcmSettleRegister implements ISettleRegister {
String dbtKey = NULLSTR; String dbtKey = NULLSTR;
String cdtKey = NULLSTR; String cdtKey = NULLSTR;
dbtKey = setglgService.setglgAddAmount(setglg,"TRN","OWN",setmodVo.getDoccur(),setmodVo.getDocamt(),"","FTD","D","",""); dbtKey = setglgService.setglgAddAmount(setglg,"TRN","OWN",setmodVo.getDoccur(),setmodVo.getDocamt(),"","FTD","C","","");
cdtKey = setglgService.setglgAddAmount(setglg,"TRN","TRO",setmodVo.getDoccur(),setmodVo.getDocamt(),"","FTD","C","",""); cdtKey = setglgService.setglgAddAmount(setglg,"TRN","TRO",setmodVo.getDoccur(),setmodVo.getDocamt(),"","FTD","C","","");
setmodVo.setFeeclirol("TRO"); setmodVo.setFeeclirol("TRO");
......
...@@ -81,7 +81,7 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -81,7 +81,7 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt
TrnmodVo trnmodVo = transactionHelpService.getTransactionStoreSet().getTrnmodVo(); TrnmodVo trnmodVo = transactionHelpService.getTransactionStoreSet().getTrnmodVo();
ftToolComponent.getref(bo.getFtdgrp()); ftToolComponent.getref(bo.getFtdgrp());
bo.getFtdgrp().getRec().setCnfdat(Dates.today()); bo.getFtdgrp().getRec().setCnfdat(Dates.today());
ftToolComponent.sav(bo.getFtdgrp(),BigDecimal.ZERO); ftToolComponent.sav(bo.getFtdgrp());
// 2. Build Transaction from FTDGRP // 2. Build Transaction from FTDGRP
trnmodService.trnSetFromContract(trnmodVo); trnmodService.trnSetFromContract(trnmodVo);
cbsSav(bo, trnmodVo); cbsSav(bo, trnmodVo);
...@@ -130,8 +130,8 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -130,8 +130,8 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt
bizInfoVo.setRat(rec.getRat()); bizInfoVo.setRat(rec.getRat());
bizInfoVo.setBranchInr(rec.getBranchinr()); bizInfoVo.setBranchInr(rec.getBranchinr());
bizInfoVo.setEtyextkey(rec.getEtyextkey()); bizInfoVo.setEtyextkey(rec.getEtyextkey());
bizInfoVo.setAmt(rec.getAmt());
bizInfoVo.setBranchInr(rec.getBranchinr()); bizInfoVo.setBranchInr(rec.getBranchinr());
bizInfoVo.setValdat(rec.getValdat());
return bizInfoVo; return bizInfoVo;
} }
@Override @Override
...@@ -180,9 +180,6 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -180,9 +180,6 @@ public class FttpcmTransactionServiceImpl extends AbstractTransactionService<Ftt
return fttpcmStoreBo; return fttpcmStoreBo;
} }
/**
* source:fxtfop.0001.script
*/
public void init1000(FttpcmStoreBo bo) { public void init1000(FttpcmStoreBo bo) {
// bo.getFtdgrp().getCbs().getMax().setCur(xrtmodService.sysiso()); // bo.getFtdgrp().getCbs().getMax().setCur(xrtmodService.sysiso());
......
...@@ -68,7 +68,7 @@ public class FttpcnTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -68,7 +68,7 @@ public class FttpcnTransactionServiceImpl extends AbstractTransactionService<Ftt
public void ruleMtabutSavN500(FttpcnStoreBo fttpcnStoreBo){ public void ruleMtabutSavN500(FttpcnStoreBo fttpcnStoreBo){
TrnmodVo trnmodVo = transactionHelpService.getTransactionStoreSet().getTrnmodVo(); TrnmodVo trnmodVo = transactionHelpService.getTransactionStoreSet().getTrnmodVo();
ftToolComponent.getref(fttpcnStoreBo.getFtdgrp()); ftToolComponent.getref(fttpcnStoreBo.getFtdgrp());
ftToolComponent.sav(fttpcnStoreBo.getFtdgrp(),BigDecimal.ZERO); ftToolComponent.sav(fttpcnStoreBo.getFtdgrp());
trnmodService.trnSetFromContract(trnmodVo); trnmodService.trnSetFromContract(trnmodVo);
cbsSav(fttpcnStoreBo, trnmodVo); cbsSav(fttpcnStoreBo, trnmodVo);
...@@ -89,8 +89,8 @@ public class FttpcnTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -89,8 +89,8 @@ public class FttpcnTransactionServiceImpl extends AbstractTransactionService<Ftt
bizInfoVo.setRat(rec.getRat()); bizInfoVo.setRat(rec.getRat());
bizInfoVo.setBranchInr(rec.getBranchinr()); bizInfoVo.setBranchInr(rec.getBranchinr());
bizInfoVo.setEtyextkey(rec.getEtyextkey()); bizInfoVo.setEtyextkey(rec.getEtyextkey());
bizInfoVo.setAmt(rec.getAmt());
bizInfoVo.setBranchInr(rec.getBranchinr()); bizInfoVo.setBranchInr(rec.getBranchinr());
bizInfoVo.setValdat(rec.getValdat());
return bizInfoVo; return bizInfoVo;
} }
...@@ -129,13 +129,6 @@ public class FttpcnTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -129,13 +129,6 @@ public class FttpcnTransactionServiceImpl extends AbstractTransactionService<Ftt
@Override @Override
public FttpcnStoreBo init(FttpcnStoreBo fttpcnStoreBo){ public FttpcnStoreBo init(FttpcnStoreBo fttpcnStoreBo){
fttpcnStoreBo.reset(); fttpcnStoreBo.reset();
String ftdInr = fttpcnStoreBo.getFtdgrp().getRec().getInr();
if(sptDataComponent.needMergeSptData(fttpcnStoreBo)){
ftdInr = fttpcnStoreBo.getSpt().getObjinr();
}
Ftdgrp ftdgrp = ftToolComponent.getFtdgrpByInr(ftdInr);
fttpcnStoreBo.setFtdgrp(ftdgrp);
init950(fttpcnStoreBo); init950(fttpcnStoreBo);
init1000(fttpcnStoreBo); init1000(fttpcnStoreBo);
return fttpcnStoreBo; return fttpcnStoreBo;
...@@ -143,12 +136,12 @@ public class FttpcnTransactionServiceImpl extends AbstractTransactionService<Ftt ...@@ -143,12 +136,12 @@ public class FttpcnTransactionServiceImpl extends AbstractTransactionService<Ftt
private void init950(FttpcnStoreBo fttpcmStoreBo){ private void init950(FttpcnStoreBo fttpcmStoreBo){
Ftdgrp ftdgrp = fttpcmStoreBo.getFtdgrp(); Ftdgrp ftdgrp = fttpcmStoreBo.getFtdgrp();
// if(!fttpcmStoreBo.isModified("canamt")){ if(!fttpcmStoreBo.isModified("canamt")){
// fttpcmStoreBo.setCanamt(ftdgrp.getCbs().getMax().getAmt()); fttpcmStoreBo.setCanamt(ftdgrp.getCbs().getMax().getAmt());
// } }
// if (!fttpcmStoreBo.isModified("cancur")){ if (!fttpcmStoreBo.isModified("cancur")){
// fttpcmStoreBo.setCancur(ftdgrp.getCbs().getMax().getCur()); fttpcmStoreBo.setCancur(ftdgrp.getCbs().getMax().getCur());
// } }
} }
private void init1000(FttpcnStoreBo fttpcnStoreBo){ private void init1000(FttpcnStoreBo fttpcnStoreBo){
......
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