细节修改

This commit is contained in:
陈超
2022-08-09 20:46:43 +08:00
parent 17fbda2d47
commit 6aaabc5fde
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
<mapper namespace="com.njcn.system.mapper.DeptMapMapper">
<select id="selectCountByDept" resultType="int">
SELECT count(Id) FROM sys_dept WHERE Id = #{deptId}
SELECT count(Id) FROM sys_dept WHERE State = 1 AND Id = #{deptId}
</select>
<select id="selectDeptName" resultType="java.lang.String">