This commit is contained in:
andy 2025-12-02 10:26:09 +08:00
parent d8a6297988
commit 873c997719

View File

@ -275,6 +275,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectLeaderSysStaffByDeptId" resultMap="SysStaffResult">
<include refid="selectSysStaffVo"/>
where del_flag = '0' and status != '-1' and dept_id = #{deptId} limit 1
where del_flag = '0' and status != '-1' and dept_id = #{deptId} and is_leader='是' limit 1
</select>
</mapper>