From 1c9d03ee29c26aaf13059432b69a81e74574a402 Mon Sep 17 00:00:00 2001 From: xiaoCJ <406612557@qq.com> Date: Thu, 27 Jun 2024 09:03:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9E=E5=8A=A1=E8=AE=A4?= =?UTF-8?q?=E7=9F=A5=E5=BE=97=E5=88=86=E5=92=8C=E6=99=BA=E8=83=BD=E8=AF=84?= =?UTF-8?q?=E5=88=86=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/serviceImpl/ProfitManagementServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/ProfitManagementServiceImpl.java b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/ProfitManagementServiceImpl.java index b180981..14b8a6a 100644 --- a/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/ProfitManagementServiceImpl.java +++ b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/ProfitManagementServiceImpl.java @@ -74,11 +74,13 @@ public class ProfitManagementServiceImpl implements ProfitManagementService { profitManagementMapper.updateByPrimaryKey(profitManagement); if (!(userMarketValue.compareTo(marketValue) == 0)) { + performanceScoreService.calculateScoreByModule("profitManagementMarketValueScore", 0, profitManagement.getFlowId()); return new ResultEntity<>(HttpStatus.BAD_REQUEST, "市值计算错误!", marketValue); } else { performanceScoreService.calculateScoreByModule("profitManagementMarketValueScore", 2, profitManagement.getFlowId()); } if (!(userFundEarnings.compareTo(fundEarnings) == 0)) { + performanceScoreService.calculateScoreByModule("profitManagementMarketValueScore", 0, profitManagement.getFlowId()); return new ResultEntity<>(HttpStatus.BAD_REQUEST, "收益计算错误!", fundEarnings); } else { performanceScoreService.calculateScoreByModule("profitManagementFundScore", 2, profitManagement.getFlowId());