瀏覽代碼

搜索条件新增

change 3 年之前
父節點
當前提交
8cffe66b67
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/course/CourseMapper.xml

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/course/CourseMapper.xml

@@ -358,6 +358,7 @@
         WHERE
             cgu.user_id =#{userId}
         AND cg.status=1
+          AND  (unix_timestamp(now()) < cg.class_end_time or cg.class_start_time is null)
     </select>
 
     <select id="listSection" parameterType="com.zhongzheng.modules.grade.bo.ClassGradeUserQueryBo"  resultMap="GoodsPeriodStatusVo">