From 3a9d2496fa7a418ceb106c3a40e3f1dad00c7528 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期一, 26 七月 2021 14:16:24 +0800
Subject: [PATCH] 优化代码

---
 java110-db/src/main/resources/mapper/common/AdvertServiceDaoImplMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 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..b5acb5d 100755
--- a/java110-db/src/main/resources/mapper/common/AdvertServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/AdvertServiceDaoImplMapper.xml
@@ -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