zj
2025-05-28 bcd36411feb0351347289476eb7ee9e5dd1c3b9d
src/main/java/project/project/web/admin/AdminContractOrderController.java
@@ -161,6 +161,10 @@
               }
               DecimalFormat dfs = new DecimalFormat("#.#####");
               String formattedPrice = dfs.format(liquidationPrice);
               // 检查是否为负数
               if (Double.parseDouble(formattedPrice) < 0) {
                  formattedPrice = "0";
               }
               map.put("qiangPing", formattedPrice);
            }
         }
@@ -312,6 +316,10 @@
               }
               DecimalFormat dfs = new DecimalFormat("#.#####");
               String formattedPrice = dfs.format(liquidationPrice);
               // 检查是否为负数
               if (Double.parseDouble(formattedPrice) < 0) {
                  formattedPrice = "0";
               }
               map.put("qiangPing", formattedPrice);
            }