From 1024666b99a24bd7d5e4dc442d6b0c0319fa2f29 Mon Sep 17 00:00:00 2001
From: xiaogang <905166056@qq.com>
Date: 星期六, 17 七月 2021 22:56:48 +0800
Subject: [PATCH] 1、优化细节性问题2、优化采购细节问题

---
 java110-db/src/main/resources/mapper/community/VisitServiceDaoImplMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 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..3ee2fec 100755
--- a/java110-db/src/main/resources/mapper/community/VisitServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/VisitServiceDaoImplMapper.xml
@@ -151,6 +151,12 @@
         <if test="bId !=null and bId != ''">
             and t.b_id= #{bId}
         </if>
+        <if test="visitStartTime !=null and visitStartTime !='' ">
+            and t.visit_time &gt;= #{visitStartTime}
+        </if>
+        <if test="visitEndTime !=null and visitEndTime !='' ">
+            and t.visit_time &lt;= #{visitEndTime}
+        </if>
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>
@@ -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 &gt;= #{visitStartTime}
+        </if>
+        <if test="visitEndTime !=null and visitEndTime !='' ">
+            and t.visit_time &lt;= #{visitEndTime}
+        </if>
 
 
     </select>

--
Gitblit v1.8.0