Browse Source

feat:vip课双11活动不受开启状态限制

Joburgess 4 years ago
parent
commit
d05fc02bd5

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/VipGroupActivityMapper.xml

@@ -204,7 +204,7 @@
 			vip_group_activity
 			vip_group_activity
 		WHERE
 		WHERE
 			FIND_IN_SET( #{categoryId}, vip_group_category_id_list_ )
 			FIND_IN_SET( #{categoryId}, vip_group_category_id_list_ )
-		  	<if test="includeClosed!=null and includeClosed">
+		  	<if test="includeClosed==null">
 				AND (end_time_ IS NULL OR NOW() BETWEEN start_time_ AND end_time_)
 				AND (end_time_ IS NULL OR NOW() BETWEEN start_time_ AND end_time_)
 			</if>
 			</if>
 			AND del_flag_=0
 			AND del_flag_=0