解决一些人员多个部门的bug导致无法登录钉钉资产管理

This commit is contained in:
wulin 2021-05-06 16:52:11 +08:00
parent 1da0560585
commit ceabf20f48

View File

@ -29,7 +29,7 @@
</resultMap>
<select id="getStaffOccupationByStaffId" resultType="com.lz.modules.app.entity.StaffOccupationEntity">
select * from lz_staff_occupation where is_delete=0 and staff_id = #{staffId}
select * from lz_staff_occupation where is_delete=0 and staff_id = #{staffId} limit 1
</select>
<select id="getOccupationByStaffId" resultType="com.lz.modules.app.dto.StaffOccupationInfoDto">