|
|
@@ -296,13 +296,13 @@
|
|
|
left join admin_location al on al.admin_id = a.id
|
|
|
left join admin aa on aa.id = a.superior_id
|
|
|
where 1 = 1
|
|
|
- <if test="provinceList != null and provinceList != ''">
|
|
|
+ <if test="provinceList != null and provinceList.size > 0">
|
|
|
and al.province in
|
|
|
<foreach collection="provinceList" item="plist" open="(" separator="," close=")">
|
|
|
#{plist}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="cityList != null and cityList !=''">
|
|
|
+ <if test="cityList != null and cityList.size > 0">
|
|
|
and al.city in
|
|
|
<foreach collection="cityList" item="clist" open="(" separator="," close=")">
|
|
|
#{clist}
|