diff --git a/src/main/java/com/sztzjy/fund_investment/controller/InquiryIssuanceController.java b/src/main/java/com/sztzjy/fund_investment/controller/InquiryIssuanceController.java index 1cdf348..f803b36 100644 --- a/src/main/java/com/sztzjy/fund_investment/controller/InquiryIssuanceController.java +++ b/src/main/java/com/sztzjy/fund_investment/controller/InquiryIssuanceController.java @@ -44,6 +44,8 @@ public class InquiryIssuanceController { PerformanceScoreMapper performanceScoreMapper; @Resource PerformanceScoreService performanceScoreService; + @Resource + IssuanceParameterInput issuanceParameterInput; @AnonymousAccess @GetMapping("/queryInquiryInvestors") @ApiOperation("询价投资者查看") @@ -107,6 +109,8 @@ public class InquiryIssuanceController { } catch (Exception e) { e.printStackTrace(); } + //写入分数 + performanceScoreService.calculateScoreByModule("pricingIssuanceEnteringScore", 1, issuanceParameterInput.getFlowId()); } @AnonymousAccess @GetMapping("/queryInitiatePreliminaryInquiry") @@ -196,6 +200,8 @@ public class InquiryIssuanceController { } catch (Exception e) { e.printStackTrace(); } + //写入分数 + performanceScoreService.calculateScoreByModule("pricingIssuanceEnteringScore", 2, issuanceParameterInput.getFlowId()); } @AnonymousAccess @@ -221,7 +227,7 @@ public class InquiryIssuanceController { @AnonymousAccess @GetMapping("/exportInquiryResults") - @ApiOperation("投资者参与询价--询价结果") + @ApiOperation("投资者参与询价--询价结果导出") public void exportInquiryResults(HttpServletResponse response, @RequestParam String flowId) { //导出的表名 String title = IdUtil.simpleUUID(); @@ -238,6 +244,8 @@ public class InquiryIssuanceController { } catch (Exception e) { e.printStackTrace(); } + //写入分数 + performanceScoreService.calculateScoreByModule("pricingIssuanceEnteringScore", 1, issuanceParameterInput.getFlowId()); } @AnonymousAccess