laozt 1 year ago
commit cb3fbb75a1

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

Loading…
Cancel
Save