From cc120d54e26f64753e99b349599875cf6911a0af Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Wed, 18 Oct 2023 08:26:19 +0800
Subject: [PATCH] chore:小程序测试提交
---
screen-api/src/main/resources/mapper/AllocationMapper.xml | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/screen-api/src/main/resources/mapper/AllocationMapper.xml b/screen-api/src/main/resources/mapper/AllocationMapper.xml
index 7562062..bf5816e 100644
--- a/screen-api/src/main/resources/mapper/AllocationMapper.xml
+++ b/screen-api/src/main/resources/mapper/AllocationMapper.xml
@@ -59,6 +59,26 @@
</where>
</select>
+
+ <select id="selectSmallRoutine" resultType="com.moral.api.pojo.vo.allocation.AllocationFindVo">
+ SELECT
+ <include refid="Allocation_Column_List"/>
+ FROM allocation as a
+ <where>
+ and is_del = 0 and is_invalid =0
+ <if test="allocation.state != null and allocation.id != 0">
+ and a.state = #{state}
+ </if>
+ <if test="allocation.startTime != null and allocation.startTime != '' ">
+ and date(escalation_time) <![CDATA[>=]]> #{startTime}
+ </if>
+ <if test="allocation.endTime != null and allocation.endTime !='' ">
+ and date(escalation_time) <![CDATA[<=]]> #{endTime}
+ </if>
+ </where>
+ order by escalation_time desc,allocation_id desc
+ </select>
+
<select id="extPage" resultType="com.moral.api.pojo.ext.allocation.AllocationPageExt">
SELECT
<include refid="Allocation_Column_List"/>,t1.id as applyState
--
Gitblit v1.8.0