|
@@ -182,6 +182,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="prefixName != null and prefixName != ''">
|
|
|
AND c.prefix_name like concat('%', #{prefixName}, '%')
|
|
|
</if>
|
|
|
+ <if test="key != null and key != ''">
|
|
|
+ AND (c.name like concat('%', #{key}, '%') or c.prefix_name like concat('%', #{key}, '%') or c.code = #{key})
|
|
|
+ </if>
|
|
|
<if test="status != null and status.size()!=0 ">
|
|
|
AND c.status in
|
|
|
<foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
|