|
|
|
@ -76,14 +76,14 @@
|
|
|
|
|
<if test="enterpriseName != null and enterpriseName != ''">and s.enterprise_name like concat('%',
|
|
|
|
|
#{enterpriseName}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="district != '' and district.length==3">
|
|
|
|
|
and s.district like concat('%',#{district}, '%')
|
|
|
|
|
<if test="district != null and district.length==3">
|
|
|
|
|
and a.district like concat('%',#{district}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="district != '' and district.length==6">
|
|
|
|
|
and s.district like concat('%',#{district}, '%')
|
|
|
|
|
<if test="district != null and district.length==6">
|
|
|
|
|
and a.district like concat('%',#{district}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="district != null and district != ''">
|
|
|
|
|
and s.district in
|
|
|
|
|
<if test="district != null and district != '' and district.length!=3 and district.length!=6">
|
|
|
|
|
and a.district in
|
|
|
|
|
<foreach item="item" index="index" collection="district.split(',')" open="(" separator="," close=")">
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>
|
|
|
|
|