From 468f42f39f8e5df5d9d8c8982ac3a3c87859c97b Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Tue, 29 Dec 2020 09:26:14 +0800 Subject: [PATCH] 部门添加两个字段 --- kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/DataNeedMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 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 d2ef40a..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 @@ -11,7 +11,6 @@ <sql id="where"> <where> <!--查询条件自行添加--> - is_del=0 <if test="p.id != null and p.id !=''"> and id = #{p.id} </if> @@ -75,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 >= #{p.createTimeBegin} + </if> + <if test="p.createTimeEnd != null and p.createTimeEnd !=''"> + and create_time <= #{p.createTimeEnd} + </if> <if test="p.updateTime != null and p.updateTime !=''"> and update_time = #{p.updateTime} </if> -- Gitblit v1.8.0