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