zouxuan 5 년 전
부모
커밋
5569690c7b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/VipGroupActivityMapper.xml

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

@@ -141,7 +141,7 @@
 				AND ((NOW() < end_time_ AND NOW() > start_time_) OR end_time_ IS NULL)
 			</if>
 			<if test="enable != null and enable == false">
-				AND NOW() >= end_time_ AND NOW() &lt;= start_time_
+				AND (NOW() >= end_time_ OR NOW() &lt;= start_time_)
 			</if>
 		</where>
 	</sql>