From ac2c8228c50657b84c52f57e84fd299c6a5d952f Mon Sep 17 00:00:00 2001 From: whb <17803890193@163.com> Date: Wed, 27 Mar 2024 14:07:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=A2=E4=BB=B7=E5=8F=91?= =?UTF-8?q?=E8=A1=8C=E5=AE=8C=E6=88=90=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../serviceImpl/ContractInvestmentServiceImpl.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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); }