同步人员接口,临时增加数据

main
zhangyue 2026-06-12 17:21:05 +08:00
parent 48a1fc8f15
commit 3c37c50374
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
left join department d on d.id = u.department_id left join department d on d.id = u.department_id
left join post p on p.id = u.post_id left join post p on p.id = u.post_id
<where> <where>
and u.id != u.corpinfo_id (and u.id != u.corpinfo_id
and u.delete_enum = 'FALSE' and u.delete_enum = 'FALSE'
and u.employment_flag in (1, 2) and u.employment_flag in (1, 2)
and u.corpinfo_id = #{params.corpinfoId} and u.corpinfo_id = #{params.corpinfoId}
@ -56,8 +56,8 @@
</if> </if>
<if test="params.userIdCard != null and params.userIdCard != ''"> <if test="params.userIdCard != null and params.userIdCard != ''">
and u.user_id_card = TO_BASE64(#{params.userIdCard}) and u.user_id_card = TO_BASE64(#{params.userIdCard})
</if> </if>)
or u.id = 2034204588722098176
</where> </where>
order by u.sort , order by u.sort ,
u.create_time desc u.create_time desc