From 6b72087037df825fb29b41b1045fc6f7fa121165 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 13 一月 2026 17:55:10 +0800
Subject: [PATCH] 处理科学计数法的BUG

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java
index 10fe981..035d050 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java
@@ -769,7 +769,7 @@
     }
 
     public static String convert(Double money) {
-        String smoney = money.toString();
+        String smoney = BigDecimal.valueOf(money).toString();
         try {
             if (smoney.indexOf(".") != -1) {                        //鎶婃暟鍊煎垎涓烘暣鏁板瀷鍜屽甫灏忔暟鐨勬暟鍊煎垎寮�澶勭悊銆�
                 String left = smoney.substring(0, smoney.indexOf("."));

--
Gitblit v1.9.3