From 4b544975c973a27cd789cb23d0ac29da2890fd96 Mon Sep 17 00:00:00 2001 From: cjl <276999030@qq.com> Date: Wed, 27 Sep 2023 14:49:24 +0800 Subject: [PATCH] feat:附件补充提交 --- screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml b/screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml index dfaa03c..2b48a42 100644 --- a/screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml +++ b/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 -- Gitblit v1.8.0