Преглед на файлове

Merge branch 'master' of http://1.14.104.71:10880/root/ylrz_scrm_java

caoliqin преди 1 седмица
родител
ревизия
416766befd
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      fs-service-system/src/main/resources/mapper/course/FsUserCoursePeriodDaysMapper.xml

+ 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">