From a2d9f8585da32fa38f759311effd36da11a99841 Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Thu, 28 Sep 2023 14:33:06 +0800
Subject: [PATCH] chore:补充提交
---
screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml b/screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml
index 2b48a42..52ab9ae 100644
--- a/screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml
+++ b/screen-api/src/main/resources/mapper/AllocationExtensionMapper.xml
@@ -49,7 +49,7 @@
and t1.pollute_type = #{allocation.polluteType}
</if>
<if test="allocation.state != null and allocation.state != 0">
- and t1.state = #{allocation.state}
+ and allocationextension.state = #{allocation.state}
</if>
<if test="allocation.investigationType != null and allocation.investigationType != 0">
and t1.investigation_type = #{allocation.investigationType}
@@ -64,6 +64,9 @@
<if test="allocation.endTime != null and allocation.endTime !='' ">
and date(t1.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 t1.unit_id in
<foreach collection="allocation.unitList" item="id" index="index" open="(" close=")" separator=",">
--
Gitblit v1.8.0