1.用户查询未过滤已删除数据
This commit is contained in:
parent
1232ed4eac
commit
aa204a2345
|
@ -34,6 +34,7 @@
|
||||||
FROM user u
|
FROM user u
|
||||||
LEFT JOIN dept d ON u.dept_id = d.dept_id
|
LEFT JOIN dept d ON u.dept_id = d.dept_id
|
||||||
<where>
|
<where>
|
||||||
|
u.del_flag = 0
|
||||||
<if test="userCode != null and userCode != ''">
|
<if test="userCode != null and userCode != ''">
|
||||||
AND u.user_code LIKE CONCAT('%', #{userCode}, '%')
|
AND u.user_code LIKE CONCAT('%', #{userCode}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in New Issue