Commit 167dab9e by 墨竹

feat:通讯录列表bug修改

parent 4582c4a8
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
b.department_id departmentIds b.department_id departmentIds
from tab_haoban_staff a from tab_haoban_staff a
left join tab_haoban_staff_department_related b on a.staff_id = b.staff_id left join tab_haoban_staff_department_related b on a.staff_id = b.staff_id
where a.status_flag = 1 and a.wx_enterprise_id = #{wxEnterpriseId} where a.status_flag = 1 and b.status_flag = 1 and a.wx_enterprise_id = #{wxEnterpriseId}
<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>
......
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