diff --git a/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/ContractInvestmentServiceImpl.java b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/ContractInvestmentServiceImpl.java index c08cf8f..100bb65 100644 --- a/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/ContractInvestmentServiceImpl.java +++ b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/ContractInvestmentServiceImpl.java @@ -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 performanceScoreList = performanceScoreMapper.selectByExample(performanceScoreExample); + if (!performanceScoreList.isEmpty()){ + + performanceScoreList.get(0).setPricingIssuanceTime(new Date()); + + performanceScoreMapper.updateByPrimaryKey(performanceScoreList.get(0)); + } + return new ResultEntity<>(HttpStatus.OK); }