From f4a0f5bb0c4631c8683cfbfecf74a4b5bfcd8075 Mon Sep 17 00:00:00 2001
From: luliqiang <kidgrow>
Date: Wed, 24 Mar 2021 19:14:18 +0800
Subject: [PATCH] 1、增加合同充值记录表SQL的生成 2、合同信息表查询时,增加【是否已经下载】条件

---
 kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/DataNeedMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/DataNeedMapper.xml b/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/DataNeedMapper.xml
index 59a3051..91a5abd 100644
--- a/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/DataNeedMapper.xml
+++ b/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/DataNeedMapper.xml
@@ -74,6 +74,12 @@
             <if test="p.createTime != null and p.createTime !=''">
                 and create_time = #{p.createTime}
             </if>
+            <if test="p.createTimeBegin != null and p.createTimeBegin !=''">
+                and create_time &gt;=  #{p.createTimeBegin}
+            </if>
+            <if test="p.createTimeEnd != null and p.createTimeEnd !=''">
+                and create_time &lt;= #{p.createTimeEnd}
+            </if>
             <if test="p.updateTime != null and p.updateTime !=''">
                 and update_time = #{p.updateTime}
             </if>

--
Gitblit v1.8.0