parent
b4980a91b1
commit
7fae9aa488
|
|
@ -29,9 +29,12 @@
|
|||
LEFT JOIN department d ON d.id = uc.department_id
|
||||
LEFT JOIN post p ON p.id = uc.post_id
|
||||
WHERE uc.delete_enum = 'FALSE'
|
||||
<if test="params.noMain != null">
|
||||
AND (
|
||||
(uc.user_type IN (1, 2) AND uc.rz_flag = 1)
|
||||
OR (uc.user_type = 3 AND uc.employment_flag = 1)
|
||||
)
|
||||
AND uc.id != uc.corpinfo_id
|
||||
</if>
|
||||
|
||||
<if test="params.corpinfoId != null">
|
||||
AND uc.corpinfo_id = #{params.corpinfoId}
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue