Commit 69d98356 by jianglong

新增fttfcn交易

parent bee1ec8e
......@@ -31,7 +31,7 @@ import com.brilliance.isc.funds.common.component.FtToolComponent;
import com.brilliance.isc.funds.fttfcn.check.FttfcnValidator;
import com.brilliance.isc.funds.transfer.transaction.FttfcnStructMapper;
import com.brilliance.isc.funds.vo.funds.FttfcnStoreVo;
import com.brilliance.isc.funds.vo.funds.FxtfcnStoreVo;
import com.brilliance.isc.funds.vo.funds.FttfcnStoreVo;
import com.brilliance.isc.mda.dao.ActMapper;
import com.brilliance.isc.mda.dao.PtyratMapper;
import com.brilliance.isc.vo.funds.FtdBizInfoVo;
......@@ -149,6 +149,15 @@ public class FttfcnTransactionServiceImpl extends AbstractTransactionService<Ftt
public FttfcnStoreBo init(FttfcnStoreBo fttfcnStoreBo) {
fttfcnStoreBo.reset();
String ftdinr = fttfcnStoreBo.getFtdgrp().getRec().getInr();
if (sptDataComponent.needMergeSptData(fttfcnStoreBo)) {
ftdinr = fttfcnStoreBo.getSpt().getObjinr();
}
Ftdgrp ftdgrpVo = ftToolComponent.getFtdgrpByInr(ftdinr);
fttfcnStoreBo.setFtdgrp(ftdgrpVo);
init950(fttfcnStoreBo);
init1000(fttfcnStoreBo);
......@@ -156,6 +165,10 @@ public class FttfcnTransactionServiceImpl extends AbstractTransactionService<Ftt
{
fttfcnStoreBo.getFtdgrp().getRec().setOpndat( Dates.today());
}
if ( MdaUtils.isEmpty(fttfcnStoreBo.getCanamt())){
fttfcnStoreBo.setCanamt(ftdgrpVo.getCbs().getOpn2().getAmt());
}
return fttfcnStoreBo;
}
......
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