ソースを参照

FIX:修复营期开始时间判断错误导致营期异常开启的问题

Long 1 週間 前
コミット
6df44cfe50

+ 3 - 1
fs-service-system/src/main/resources/mapper/course/FsUserCoursePeriodDaysMapper.xml

@@ -160,9 +160,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </update>
 
     <update id="startPeriodCourse">
+    <![CDATA[
         update fs_user_course_period_days ucpd
         set ucpd.status = 1, ucpd.update_time = #{now}
-        where ucpd.status = 0 and ucpd.start_date_time >= #{now}
+        where ucpd.status = 0 and ucpd.start_date_time <= #{now}
+    ]]>
     </update>
 
     <update id="endPeriodCourse">