From 6e2e56de2850204f51642ee3f3b4aff2b04af87c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 26 七月 2023 11:03:26 +0800
Subject: [PATCH] 功能修改

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java |   44 ++++++++++++++++++++++++++++++++++----------
 1 files changed, 34 insertions(+), 10 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 5cc6f16..c210bc5 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
@@ -773,18 +773,30 @@
                     FYXM1.delete(0, FYXM1.length());
                     //鍐嶆柊澧�
                     otherMoneyall = otherMoneyall.add(otherMoney);
-                    FYXM1.append("OPO宸ヤ綔浜哄憳" + ":" + otherMoneyall + " ");
+                    FYXM1.append("OP0 宸ヤ綔浜哄憳鎶ラ攢宸梾璐�" + ":" + otherMoneyall + " ");
                 } else {
                     if (flag == 0) {
                         key1 = key;
                         flag = 1;
                     }
                     if (key1 == key) {
-                        FYXM2.append(PersonType.getInfoByCode(key) + ":" + otherMoney);
-                        allMoney = allMoney.add(otherMoney);
+                        if (key.equals("3")) {
+//                        FYXM2.append(PersonType.getInfoByCode(key) + ":" + otherMoney);
+                            FYXM2.append("涓撳鎶ラ攢宸梾璐� :" + otherMoney);
+                            allMoney = allMoney.add(otherMoney);
+                        } else {
+                            FYXM2.append("瀹跺睘鎶ラ攢宸梾璐瑰強璇伐璐圭敤 : " + otherMoney);
+                            allMoney = allMoney.add(otherMoney);
+                        }
                     } else {
-                        FYXM3.append(PersonType.getInfoByCode(key) + ":" + otherMoney);
-                        allMoney = allMoney.add(otherMoney);
+                        if (key.equals("3")) {
+//                        FYXM2.append(PersonType.getInfoByCode(key) + ":" + otherMoney);
+                            FYXM3.append("涓撳鎶ラ攢宸梾璐� :" + otherMoney);
+                            allMoney = allMoney.add(otherMoney);
+                        } else {
+                            FYXM3.append("瀹跺睘鎶ラ攢宸梾璐瑰強璇伐璐圭敤 : " + otherMoney);
+                            allMoney = allMoney.add(otherMoney);
+                        }
                     }
                 }
             } else {
@@ -793,18 +805,30 @@
                     FYXM1.delete(0, FYXM1.length());
                     //鍐嶆柊澧�
                     otherMoneyall = otherMoneyall.add(otherMoney);
-                    FYXM1.append("OPO宸ヤ綔浜哄憳" + ":" + otherMoneyall + " ");
+                    FYXM1.append("OP0 宸ヤ綔浜哄憳鎶ラ攢宸梾璐�" + ":" + otherMoneyall + " ");
                 } else {
                     if (flag == 0) {
                         key1 = key;
                         flag = 1;
                     }
                     if (key1 == key) {
-                        FYXM2.append(key + ":" + otherMoney);
-                        allMoney = allMoney.add(otherMoney);
+                        if (key.equals("涓撳")) {
+//                        FYXM2.append(PersonType.getInfoByCode(key) + ":" + otherMoney);
+                            FYXM2.append("涓撳鎶ラ攢宸梾璐� :" + otherMoney);
+                            allMoney = allMoney.add(otherMoney);
+                        } else {
+                            FYXM2.append("瀹跺睘鎶ラ攢宸梾璐瑰強璇伐璐圭敤 : " + otherMoney);
+                            allMoney = allMoney.add(otherMoney);
+                        }
                     } else {
-                        FYXM3.append(key + ":" + otherMoney);
-                        allMoney = allMoney.add(otherMoney);
+                        if (key.equals("涓撳")) {
+//                        FYXM2.append(PersonType.getInfoByCode(key) + ":" + otherMoney);
+                            FYXM3.append("涓撳鎶ラ攢宸梾璐� :" + otherMoney);
+                            allMoney = allMoney.add(otherMoney);
+                        } else {
+                            FYXM3.append("瀹跺睘鎶ラ攢宸梾璐瑰強璇伐璐圭敤 : " + otherMoney);
+                            allMoney = allMoney.add(otherMoney);
+                        }
                     }
                 }
             }

--
Gitblit v1.9.3