|
@@ -70,7 +70,7 @@
|
|
<if test="type != null and type != ''">and a.type = #{type}</if>
|
|
<if test="type != null and type != ''">and a.type = #{type}</if>
|
|
<if test="personName != null and personName != ''">
|
|
<if test="personName != null and personName != ''">
|
|
<choose>
|
|
<choose>
|
|
- <when test="type == '1'">
|
|
|
|
|
|
+ <when test="type == 1">
|
|
and p.lin_name like concat('%',#{personName},'%')
|
|
and p.lin_name like concat('%',#{personName},'%')
|
|
</when>
|
|
</when>
|
|
<otherwise>and p.name like concat('%',#{personName},'%')</otherwise>
|
|
<otherwise>and p.name like concat('%',#{personName},'%')</otherwise>
|