Commit d2e78db1 by jinxin

通讯录列表查询接口优化

parent 05cdfaf2
......@@ -302,8 +302,8 @@
<if test="occupy == null or 1!=occupy">
and a.status_flag = 1
</if>
<if test="keyword != null and keyword != ''">
and (a.staff_name like CONCAT('%',#{keyword},'%') or a.phone_number like CONCAT('%',#{keyword},'%'))
<if test="keyWord != null and keyWord != ''">
and (a.staff_name like CONCAT('%',#{keyWord},'%') or a.phone_number like CONCAT('%',#{keyWord},'%'))
</if>
<if test="activeFlag != null">
and a.active_flag = #{activeFlag}
......
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