From d6f2f458d9c8156981880c987d861423ce9af146 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 14 六月 2023 16:42:08 +0800
Subject: [PATCH] 修改类型
---
ruoyi-project/src/main/java/com/ruoyi/project/domain/vo/TaxMoneyVO.java | 2 +-
ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFunddetailServiceImpl.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/domain/vo/TaxMoneyVO.java b/ruoyi-project/src/main/java/com/ruoyi/project/domain/vo/TaxMoneyVO.java
index 0debe77..9917f56 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/domain/vo/TaxMoneyVO.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/domain/vo/TaxMoneyVO.java
@@ -14,7 +14,7 @@
/**
* 宸ヨ祫
*/
- private Double money;
+ private String money;
/**
* 璐圭敤鍒涘缓鏃堕棿
diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFunddetailServiceImpl.java b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFunddetailServiceImpl.java
index 06748de..cb73f8a 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFunddetailServiceImpl.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFunddetailServiceImpl.java
@@ -123,7 +123,7 @@
/**
* 鏍规嵁绋庡悗宸ヨ祫锛岀畻鍑虹◣鍓嶅伐璧�
*
- * @param money
+ * @param taxMoneyVo
* @return
*/
@Override
@@ -139,7 +139,7 @@
totalScore = taxationByBeneFiciaryNo.stream().mapToDouble(ServiceFunddetail::getTaxamount).sum();
}
//璁$畻鍑烘�荤殑绋庡悗钖叕锛堝寘鍚湰娆★級
- sum = sum + taxMoneyVo.getMoney();
+ sum = sum + Double.valueOf(taxMoneyVo.getMoney());
//绋庡墠鎬婚噾棰�
String taxationBefore = TaxtUtils.getTaxationBefore(new BigDecimal(sum));
//鎬讳釜绋�
--
Gitblit v1.9.3