细节修改
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user