screen-api/src/main/resources/mapper/AllocationMapper.xml
@@ -90,6 +90,13 @@ <if test="allocation.endTime != null and allocation.endTime !='' "> and date(allocation.escalation_time) <![CDATA[<=]]> #{allocation.endTime} </if> <if test="allocation.unitList != null and allocation.unitList.size !=0"> and allocation.unit_id in <foreach collection="allocation.unitList" item="id" index="index" open="(" close=")" separator=","> #{id} </foreach> </if> </where> order by allocation.escalation_time desc,allocation.allocation_id desc </select>