修复删除部门的bug

This commit is contained in:
LiZongLiang
2024-08-03 16:13:21 +08:00
parent ac7c9940bf
commit 2f5683ac9d
3 changed files with 3 additions and 3 deletions

View File

@@ -85,7 +85,7 @@
<select id="countByDepartmentId" resultType="integer">
SELECT count(1) FROM t_employee
WHERE
department_id = #{departmentId}
department_id = #{departmentId} AND deleted_flag = #{deletedFlag}
</select>