|
|
@@ -430,10 +430,15 @@
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="power ==1 or power ==2">
|
|
|
- and a.aid in
|
|
|
+ and a.aid
|
|
|
+ <if test="alist2 !=null">
|
|
|
<foreach item="item" collection="alist" separator="," open="(" close=")" index="">
|
|
|
- #{item}
|
|
|
+ in #{item}
|
|
|
</foreach>
|
|
|
+ </if>
|
|
|
+ <if test="alist2 !=null">
|
|
|
+ is null
|
|
|
+ </if>
|
|
|
</if>
|
|
|
<if test="name != null and name != ''">
|
|
|
and a.identify_name like concat('%',#{name},'%')
|
|
|
@@ -478,11 +483,16 @@
|
|
|
<if test="power ==0">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- <if test="power ==1 or power ==2">
|
|
|
- and a.aid in
|
|
|
+ <if test="power ==1 or power ==2">
|
|
|
+ and a.aid
|
|
|
+ <if test="alist2 !=null">
|
|
|
<foreach item="item" collection="alist" separator="," open="(" close=")" index="">
|
|
|
- #{item}
|
|
|
+ in #{item}
|
|
|
</foreach>
|
|
|
+ </if>
|
|
|
+ <if test="alist2 !=null">
|
|
|
+ is null
|
|
|
+ </if>
|
|
|
</if>
|
|
|
<if test="name != null and name != ''">
|
|
|
and a.identify_name like concat('%',#{name},'%')
|