瀏覽代碼

会员看课状态和领取红包判断调整

caoliqin 1 月之前
父節點
當前提交
1d554f5cb1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs-service-system/src/main/resources/mapper/course/FsUserCoursePeriodDaysMapper.xml

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

@@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         inner join fs_user_course b on a.course_id = b.course_id
         inner join fs_user_course_video c on a.video_id = c.video_id
         <where>
-            <if test="periodId != null "> and aperiod_id = #{periodId}</if>
+            <if test="periodId != null "> and period_id = #{periodId}</if>
             <if test="courseId != null "> and a.course_id = #{courseId}</if>
             <if test="videoId != null "> and a.video_id = #{videoId}</if>
             <if test="videoIds != null and videoIds.size > 0">