From 20c713f6db9e7490371d11b3e5c98a2cb04b78fa Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Fri, 20 Oct 2023 17:34:29 +0800
Subject: [PATCH] 补充提交
---
screen-api/src/main/resources/mapper/AllocationMapper.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/screen-api/src/main/resources/mapper/AllocationMapper.xml b/screen-api/src/main/resources/mapper/AllocationMapper.xml
index 446ee62..4b9159b 100644
--- a/screen-api/src/main/resources/mapper/AllocationMapper.xml
+++ b/screen-api/src/main/resources/mapper/AllocationMapper.xml
@@ -59,6 +59,7 @@
</where>
</select>
+
<select id="extPage" resultType="com.moral.api.pojo.ext.allocation.AllocationPageExt">
SELECT
<include refid="Allocation_Column_List"/>,t1.id as applyState
@@ -90,6 +91,9 @@
<if test="allocation.endTime != null and allocation.endTime !='' ">
and date(allocation.escalation_time) <![CDATA[<=]]> #{allocation.endTime}
</if>
+ <if test="allocation.allocationNum != null and allocation.allocationNum !='' ">
+ and allocation.allocation_num LIKE CONCAT('%',#{allocation.allocationNum},'%')
+ </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=",">
--
Gitblit v1.8.0