소스 검색

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