From 8f2e8522daf081ad4da027c39a776fdd9483b97e Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 15 九月 2025 15:20:51 +0800
Subject: [PATCH] 新需求

---
 ycl-server/src/main/java/com/ycl/platform/service/impl/CheckScoreServiceImpl.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/platform/service/impl/CheckScoreServiceImpl.java b/ycl-server/src/main/java/com/ycl/platform/service/impl/CheckScoreServiceImpl.java
index 7e514d4..bf361f3 100644
--- a/ycl-server/src/main/java/com/ycl/platform/service/impl/CheckScoreServiceImpl.java
+++ b/ycl-server/src/main/java/com/ycl/platform/service/impl/CheckScoreServiceImpl.java
@@ -179,7 +179,7 @@
             }
         }
         //鍒嗘暟淇濈暀涓�浣嶅皬鏁�
-        checkScores.stream().forEach(item -> item.setScore(item.getScore().setScale(1, RoundingMode.HALF_UP)));
+        checkScores.stream().forEach(item -> item.setScore(item.getScore().setScale(3, RoundingMode.HALF_UP)));
         Map<Long, List<CheckScore>> map = checkScores.stream().collect(Collectors.groupingBy(CheckScore::getDeptId));
         for (Map.Entry<Long, List<CheckScore>> entry : map.entrySet()) {
             List<CheckScore> tempList = getCheckScores(entry);
@@ -205,13 +205,13 @@
         if (!hasCar){
             CheckScore car = new CheckScore();
             car.setExamineCategory((short) 2);
-            car.setScore(new BigDecimal("0.0"));
+            car.setScore(new BigDecimal("0.00"));
             tempList.add(car);
         }
         if (!hasFace){
             CheckScore face = new CheckScore();
             face.setExamineCategory((short) 3);
-            face.setScore(new BigDecimal("0.0"));
+            face.setScore(new BigDecimal("0.00"));
             tempList.add(face);
         }
 

--
Gitblit v1.8.0