Commit 2ecd2ea5 by Java - 段鹏举

查询手机号过滤掉已删除的

parent be5eee9f
......@@ -210,7 +210,8 @@
ON o.id = a.office_id
LEFT JOIN sys_user_profiles p
ON a.id = p.user_id
WHERE a.phone = #{phoneNumer}
WHERE a.del_flag = '0'
AND (a.phone = #{phoneNumer}
OR a.huawei_num = #{phoneNumer}
OR a.mobile = #{phoneNumer}
OR a.mobile_nubmer = #{phoneNumer}
......@@ -218,7 +219,7 @@
OR a.mobile_nubmer = #{mobileNubmer00}
OR a.phone_number = #{phoneNumer}
OR a.phone_number = #{mobileNubmer0}
OR a.phone_number = #{mobileNubmer00}
OR a.phone_number = #{mobileNubmer00})
ORDER BY a.login_date DESC
</select>
<!-- 通过通话的电话号查询席位信息 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment