修改询价发行完成时间

master
whb 12 months ago
parent 91ebdb6be7
commit ac2c8228c5

@ -64,6 +64,8 @@ public class ContractInvestmentServiceImpl implements ContractInvestmentService
@Autowired
private PerformanceScoreService performanceScoreService;
/**
*
*/
@ -513,8 +515,20 @@ public class ContractInvestmentServiceImpl implements ContractInvestmentService
else {
issuanceParameterInput.setId(IdUtil.fastSimpleUUID());
issuanceParameterInputMapper.insertSelective(issuanceParameterInput);
performanceScoreService.calculateScoreByModule("pricingIssuanceEnteringScore", 2, issuanceParameterInput.getFlowId());
//添加询价发行完成时间
PerformanceScoreExample performanceScoreExample = new PerformanceScoreExample();
performanceScoreExample.createCriteria().andFlowIdEqualTo(issuanceParameterInput.getFlowId());
List<PerformanceScore> performanceScoreList = performanceScoreMapper.selectByExample(performanceScoreExample);
if (!performanceScoreList.isEmpty()){
performanceScoreList.get(0).setPricingIssuanceTime(new Date());
performanceScoreMapper.updateByPrimaryKey(performanceScoreList.get(0));
}
return new ResultEntity<>(HttpStatus.OK);
}

Loading…
Cancel
Save