Commit 38caf489 by guojuxing

协作人筛选修复

parent d12c71f6
......@@ -204,7 +204,7 @@
left join tab_enterprise b on a.collaboration_enterprise_id = b.enterprise_id
where a.enterprise_id = #{enterpriseId}
<if test="search != null and search != '' ">
and (a.collaborator_name like concat('%', search, '%') or a.phone like concat('%', search, '%') or b.enterprise_name like concat('%', search, '%') )
and (a.collaborator_name like concat('%', #{search}, '%') or a.phone like concat('%', #{search}, '%') or b.enterprise_name like concat('%', #{search}, '%') )
</if>
<if test="appId != null and appId != '' ">
and a.app_id in (#{appId})
......
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