From 728b48c6866d2afe3fd7cf1c5822ccac41d32455 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 25 十一月 2025 13:01:52 +0800
Subject: [PATCH] yys 1.取消本次回款金额不能大于待回款金额 2.取消开票数0的限制

---
 src/main/resources/mapper/system/SysDeptMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/system/SysDeptMapper.xml b/src/main/resources/mapper/system/SysDeptMapper.xml
index efebac7..5c6310a 100644
--- a/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -67,7 +67,7 @@
 	</select>
     
     <select id="checkDeptExistUser" parameterType="Long" resultType="int">
-		select count(1) from sys_user where dept_id = #{deptId} and del_flag = '0'
+		select count(1) from sys_user_dept where dept_id = #{deptId}
 	</select>
 	
 	<select id="hasChildByDeptId" parameterType="Long" resultType="int">

--
Gitblit v1.9.3