Commit 2bc97eef by 墨竹

Merge branch 'fixbug_0525' into developer

parents b4e7046a 55e7442f
...@@ -279,6 +279,7 @@ ...@@ -279,6 +279,7 @@
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 a.wx_enterprise_id = #{wxEnterpriseId}
and b.status_flag = 1 and b.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