From 745d27feae34022ccb708aba034123e08e4e9e14 Mon Sep 17 00:00:00 2001
From: 1098226878@qq.com <1098226878@qq.com>
Date: 星期二, 28 十二月 2021 22:21:16 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
java110-db/src/main/resources/mapper/community/VisitServiceDaoImplMapper.xml | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/VisitServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/VisitServiceDaoImplMapper.xml
index 8600e17..9241ae2 100755
--- a/java110-db/src/main/resources/mapper/community/VisitServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/VisitServiceDaoImplMapper.xml
@@ -151,10 +151,16 @@
<if test="bId !=null and bId != ''">
and t.b_id= #{bId}
</if>
+ <if test="visitStartTime !=null and visitStartTime !='' ">
+ and t.visit_time >= #{visitStartTime}
+ </if>
+ <if test="visitEndTime !=null and visitEndTime !='' ">
+ and t.visit_time <= #{visitEndTime}
+ </if>
+ order by t.create_time desc
<if test="page != -1 and page != null ">
limit #{page}, #{row}
</if>
-
</select>
@@ -242,6 +248,12 @@
<if test="bId !=null and bId != ''">
and t.b_id= #{bId}
</if>
+ <if test="visitStartTime !=null and visitStartTime !='' ">
+ and t.visit_time >= #{visitStartTime}
+ </if>
+ <if test="visitEndTime !=null and visitEndTime !='' ">
+ and t.visit_time <= #{visitEndTime}
+ </if>
</select>
--
Gitblit v1.8.0