screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml
@@ -43,8 +43,11 @@ <where> 1 = 1 and allocationextension.is_del = 0 <if test="allocation.unitId != null and allocation.unitId != 0"> and t1.unit_id = #{allocation.unitId} <if test="allocation.unitId != null and allocation.unitId.size != 0"> and t1.unit_id in <foreach collection="allocation.unitId" item="id" index="index" open="(" close=")" separator=","> #{id} </foreach> </if> <if test="allocation.polluteType != null and allocation.polluteType != 0"> and t1.pollute_type = #{allocation.polluteType}