From 2c07f3c1cf4092fd42e3022c56d1bcf8fcc9438e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 15 八月 2023 15:32:14 +0800
Subject: [PATCH] 代码提交
---
ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java
index e12aa54..3af0d38 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceFundServiceImpl.java
@@ -699,6 +699,13 @@
} else {
serviceFunddetailService.updateById(serviceFunddetail);
}
+ //璁$畻绋庨噾
+ if (serviceFunddetail.getAmount() != null) {
+ taxBefore = taxBefore + serviceFunddetail.getAmount();
+ }
+ if (serviceFunddetail.getTaxedamount() != null) {
+ taxAfter = taxAfter + serviceFunddetail.getTaxedamount();
+ }
continue;
} else if (serviceFunddetailVO.getTaxedamount() != null && serviceFunddetailVO.getTaxedamount() != 0.0) {
// 绋庡悗姹傜◣鍓�,濡傛灉鏄笓瀹惰垂鐢宠 鎴� 浼︾悊涓撳璐圭敵璇� 鎵嶄細璁$畻绋庡墠绋庡悗
@@ -726,9 +733,12 @@
} else {
serviceFunddetailService.updateById(serviceFunddetail);
}
- if (serviceFundVO.getApplytype().equals("1") || serviceFundVO.getApplytype().equals("2")) {
- //濡傛灉鏄笓瀹惰垂鐢宠 鎴� 浼︾悊涓撳璐圭敵璇� 鎵嶄細璁$畻绋庡墠绋庡悗
+// if (serviceFundVO.getApplytype().equals("1") || serviceFundVO.getApplytype().equals("2")) {
+ //濡傛灉鏄笓瀹惰垂鐢宠 鎴� 浼︾悊涓撳璐圭敵璇� 鎵嶄細璁$畻绋庡墠绋庡悗
+ if (serviceFunddetail.getAmount() != null) {
taxBefore = taxBefore + serviceFunddetail.getAmount();
+ }
+ if (serviceFunddetail.getTaxedamount() != null) {
taxAfter = taxAfter + serviceFunddetail.getTaxedamount();
}
}
@@ -764,6 +774,7 @@
String strFUrl = "http://129.88.242.39:8899/seeyon/rest/attachment?token=" + strRes;
List<RbDetailFile> parseArray2 = new ArrayList<>();
List<RbDetailFile> parseArray = JSON.parseArray(remShare.getAnnexfiles(), RbDetailFile.class);
+ log.info("parseArray鐨勫�� : {}",parseArray);
for (int i = 0; i < parseArray.size(); i++) {
RbDetailFile rbDetailFile = parseArray.get(i);
log.info("filePath鐨勪慨鏀�:{}", filePath);
@@ -771,6 +782,7 @@
//file鐢ㄧ殑鏄粷瀵逛綅缃�
String substring = url.substring(url.indexOf("/profile/upload") + "/profile/upload".length());
// String strFile = rbDetailFile.getUrl().replace(filePath, "/profile/upload");
+ System.out.println("fund鏈嶅姟鐨刦ilePath + substring: " + filePath + substring);
File filetest = new File(filePath + substring);
try {
--
Gitblit v1.9.3