bug: 修改人员同步接口,去除已离职人员

This commit is contained in:
wxyclub
2023-11-12 14:43:34 +08:00
parent 458159edd4
commit ad68c11ab1
@@ -49,7 +49,7 @@
<where>
STATE = '1' and VALID_FLAG = '0' and DISABLE_FLAG = '0'
<if test="userName != null and userName != '' ">
( ts_user.ACCOUNT like concat(concat('%',#{userName}),'%') or ts_user.UNAME like concat(concat('%',#{userName}),'%') )
and ( ts_user.ACCOUNT like concat(concat('%',#{userName}),'%') or ts_user.UNAME like concat(concat('%',#{userName}),'%') )
</if>
</where>
</select>