From bc645363114f95c0e51ecbe6e526b9a9745ee3ba Mon Sep 17 00:00:00 2001
From: 赵士淞 <zhaoss@yhzhg.cn>
Date: Wed, 12 Apr 2023 07:51:27 +0000
Subject: [PATCH] 文本变更

---
 eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/capital/service/impl/CapitalAccountCompanyServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/capital/service/impl/CapitalAccountCompanyServiceImpl.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/capital/service/impl/CapitalAccountCompanyServiceImpl.java
index bd5c7d1..731d558 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/capital/service/impl/CapitalAccountCompanyServiceImpl.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/capital/service/impl/CapitalAccountCompanyServiceImpl.java
@@ -143,10 +143,10 @@
         List<CapitalAccountCompany> capitalAccountCompanyList = capitalAccountCompanyRepository.findByProjectDistinguishAndAccountTypeAndAccountYear(resources.getProjectDistinguish(), resources.getAccountType(), resources.getAccountYear());
         // 判断结果集长度
         if (capitalAccountCompanyList.size() > 1) {
-            throw new BadRequestException("每个年度同类型公司流账户只能有一个!");
+            throw new BadRequestException("每个年度项目区分+账户类型组合公司流账户只能有一个!");
         } else if (capitalAccountCompanyList.size() == 1) {
             if (resources.getId() == null || capitalAccountCompanyList.get(0).getId().longValue() != resources.getId().longValue()) {
-                throw new BadRequestException("每个年度同类型公司流账户只能有一个!");
+                throw new BadRequestException("每个年度项目区分+账户类型组合公司流账户只能有一个!");
             }
         }
     }

--
Gitblit v1.9.3