|
@@ -160,9 +160,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<update id="startPeriodCourse">
|
|
<update id="startPeriodCourse">
|
|
|
|
+ <![CDATA[
|
|
update fs_user_course_period_days ucpd
|
|
update fs_user_course_period_days ucpd
|
|
set ucpd.status = 1, ucpd.update_time = #{now}
|
|
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>
|
|
|
|
|
|
<update id="endPeriodCourse">
|
|
<update id="endPeriodCourse">
|