From 33ce9824e2568a16b165c20c51b4c9fd112f1bb8 Mon Sep 17 00:00:00 2001 From: sunjiabei Date: Sat, 11 Apr 2026 15:00:43 +0800 Subject: [PATCH] =?UTF-8?q?20260411=E4=B8=9A=E7=BB=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/demo/serviceImpl/cash/CashCollectionServiceImpl.java | 1 + src/main/resources/cashMapper/CashCollectionMapper.xml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/example/demo/serviceImpl/cash/CashCollectionServiceImpl.java b/src/main/java/com/example/demo/serviceImpl/cash/CashCollectionServiceImpl.java index ee22a06..f5b9599 100644 --- a/src/main/java/com/example/demo/serviceImpl/cash/CashCollectionServiceImpl.java +++ b/src/main/java/com/example/demo/serviceImpl/cash/CashCollectionServiceImpl.java @@ -770,6 +770,7 @@ public class CashCollectionServiceImpl implements CashCollectionService { for (int j = 0; j < matrix[i].length; j++) { // Calculate adjusted value and round to nearest integer int adjustedValue = (int) (matrix[i][j] * weight); + adjustedValue = adjustedValue*100; matrix[i][j] = adjustedValue; if (i == j) { continue; diff --git a/src/main/resources/cashMapper/CashCollectionMapper.xml b/src/main/resources/cashMapper/CashCollectionMapper.xml index 61b1a6c..71ddb2f 100644 --- a/src/main/resources/cashMapper/CashCollectionMapper.xml +++ b/src/main/resources/cashMapper/CashCollectionMapper.xml @@ -329,7 +329,7 @@