Commit d2e78db1 by jinxin

通讯录列表查询接口优化

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