|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|