同步人员接口,临时增加数据
parent
48a1fc8f15
commit
3c37c50374
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue