离职入职相关

main
zhaokai 2025-12-05 14:13:34 +08:00
parent 4eba5d151a
commit 6febd963e6
1 changed files with 2 additions and 5 deletions

View File

@ -332,15 +332,12 @@
OR u.corpinfo_id = '' OR u.corpinfo_id = ''
OR u.id != u.corpinfo_id OR u.id != u.corpinfo_id
) )
AND u.delete_enum = 'FALSE' AND u.delete_enum = 'FALSE'
<if test="params.eqCorpinfoId != null"> <if test="params.eqCorpinfoId != null">
AND ( AND (
(u.flow_flag = 0 AND u.corpinfo_id = #{params.eqCorpinfoId} ) (u.flow_flag = 0 AND u.corpinfo_id = #{params.eqCorpinfoId} and u.employment_flag !='3')
OR OR
(u.flow_flag = 1 AND cp.corpinfo_id = #{params.eqCorpinfoId} ) (u.flow_flag = 1 AND cp.corpinfo_id = #{params.eqCorpinfoId} and cp.employment_flag !='3')
) )
</if> </if>
<if test="params.eqDepartmentId != null and params.eqDepartmentId != ''"> <if test="params.eqDepartmentId != null and params.eqDepartmentId != ''">