Переглянути джерело

修改广告位接口截止时间判断

LiFei 6 роки тому
батько
коміт
3d536c55c7

+ 1 - 1
src/main/java/com/jeeplus/modules/hpadvertisement/mapper/xml/HpAdvBannerMapper.xml

@@ -156,7 +156,7 @@
 		<include refid="hpAdvBannerJoins"/>
 		<where>
 			a.del_flag = 0
-			and a.end_time &gt;= now()
+			and DATE_ADD(a.end_time, INTERVAL 1 DAY) &gt;= now()
 			<if test="application != null ">
 				<if test="application == 0">
 					and (a.application = 0 or a.application = 2)