Commit ab4b666c by guojuxing

根据名称查询商户sql修复

parent 2fbee225
......@@ -280,7 +280,7 @@
from tab_enterprise
where status = 1
<if test="search != null and search != '' ">
and ( a.enterprise_name like concat('%', #{search}, '%') or a.company_name like concat('%', #{search}, '%') )
and ( enterprise_name like concat('%', #{search}, '%') or company_name like concat('%', #{search}, '%') )
</if>
</select>
......
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