소스 검색

课程统计营期课程调整营期下拉框

yfh 1 일 전
부모
커밋
37e077fdfc
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      fs-service/src/main/resources/mapper/course/FsUserCoursePeriodDaysMapper.xml

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

@@ -34,6 +34,7 @@
             <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="videoName != null "> and c.title like concat('%', #{videoName}, '%')</if>
             <if test="maxDate != null "> and a.day_date &lt;= #{maxDate}</if>
             <if test="videoIds != null and videoIds.size > 0">
                 and a.video_id in