From cdd0abecb96bb1b6dfa32e8a9cbb406ce3b4ed7d Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 26 八月 2021 17:02:08 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 java110-db/src/main/resources/mapper/common/AdvertServiceDaoImplMapper.xml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/common/AdvertServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/AdvertServiceDaoImplMapper.xml
index 32991f6..67c7d7d 100755
--- a/java110-db/src/main/resources/mapper/common/AdvertServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/AdvertServiceDaoImplMapper.xml
@@ -204,13 +204,13 @@
             and t.advert_id= #{advertId}
         </if>
         <if test="startTime !=null ">
-            and t.start_time= #{startTime}
+            and t.start_time &lt;= #{startTime}
+        </if>
+        <if test="endTime !=null ">
+            and t.end_time &gt;= #{endTime}
         </if>
         <if test="state !=null and state != ''">
             and t.state= #{state}
-        </if>
-        <if test="endTime !=null ">
-            and t.end_time= #{endTime}
         </if>
         <if test="bId !=null and bId != ''">
             and t.b_id= #{bId}
@@ -276,10 +276,10 @@
             , t.view_type = #{viewType}
         </if>
         <if test="advertType !=null and advertType != ''">
-            and t.advert_type = #{advertType}
+            ,  t.advert_type = #{advertType}
         </if>
         <if test="pageUrl !=null and pageUrl != ''">
-            and t.page_url= #{pageUrl}
+            ,  t.page_url= #{pageUrl}
         </if>
         where 1=1
         <if test="advertId !=null and advertId != ''">

--
Gitblit v1.8.0