处理文件重命名问题
parent
1268c8b0aa
commit
23b0e5a2b5
|
@ -0,0 +1,11 @@
|
|||
package com.zcloud.mapper.dsno3.eduStudy;
|
||||
|
||||
|
||||
import com.zcloud.entity.PageData;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ClassCurriculumChapterMapper {
|
||||
|
||||
List<PageData> getListByClass(PageData data);
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.zcloud.mapper.dsno3.eduStudy.ClasscurriculumchapterMapper">
|
||||
|
||||
<select id="getListByClass" resultType="com.zcloud.entity.PageData">
|
||||
SELECT
|
||||
f.CORPINFO_ID,
|
||||
f.ENTERPRISE_ID,
|
||||
f.CLASS_ID,
|
||||
f.CURRICULUM_ID,
|
||||
f.CREATOR,
|
||||
f.CREATTIME,
|
||||
f.OPERATOR,
|
||||
f.OPERATTIME,
|
||||
f.ISDELETE,
|
||||
f.CHAPTER_ID,
|
||||
f.VIDEOCOURSEWARE_ID,
|
||||
f.CLASSCURRICULUM_ID,
|
||||
f.CLASSCURRICULUMCHAPTER_ID,
|
||||
c.CHAPTER_ID,
|
||||
c.NAME,
|
||||
c.CREATOR,
|
||||
c.CREATTIME,
|
||||
c.OPERATOR,
|
||||
c.OPERATTIME,
|
||||
c.ISDELETE,
|
||||
c.CURRICULUM_ID,
|
||||
c.CORPINFO_ID,
|
||||
c.SORT,
|
||||
c.PARENT_ID,
|
||||
c.COURSEWARENAME,
|
||||
c.VIDEOFILES,
|
||||
c.CLASSHOUR,
|
||||
c.VIDEOTIME,
|
||||
c.VIDEOCOURSEWARE_ID,
|
||||
c.CHAPTER_ID_REMOTE,
|
||||
v.COURSEWARENAME,
|
||||
t.NAME SPEAKER,
|
||||
v.COURSEWAREINTRODUCE COURSEWAREINTRODUCE,
|
||||
v.VIDEOCAPTURE COURSEWARECAPTURE,
|
||||
v.VIDEOFILES,
|
||||
IFNULL( v.VIDEOTIME, 0 ) AS VIDEOTIME,
|
||||
IFNULL( a.RESOURCETIME, 0 ) AS RESOURCETIME,
|
||||
IFNULL( a.PLAYCOUNT, 0 ) AS PLAYCOUNT
|
||||
FROM
|
||||
BUS_CLASS_CURRICULUM_CHAPTER f
|
||||
LEFT JOIN BUS_CHAPTER c ON c.CHAPTER_ID = f.CHAPTER_ID
|
||||
LEFT JOIN BUS_VIDEOCOURSEWARE v ON f.VIDEOCOURSEWARE_ID = v.VIDEOCOURSEWARE_ID
|
||||
AND v.ISDELETE = '0'
|
||||
LEFT JOIN BUS_COURSESTUDYVIDEORECORD a ON a.VIDEOCOURSEWARE_ID = v.VIDEOCOURSEWARE_ID
|
||||
AND a.CURRICULUM_ID = c.CURRICULUM_ID
|
||||
AND a.ISDELETE = '0'
|
||||
AND a.STUDENT_ID = #{STUDENT_ID}
|
||||
LEFT JOIN bus_teacher t ON t.TEACHER_ID = v.SPEAKER
|
||||
WHERE
|
||||
f.ISDELETE = '0'
|
||||
AND f.CLASSCURRICULUM_ID = #{CLASSCURRICULUM_ID}
|
||||
<if test="PARENT_ID != null and PARENT_ID != ''">
|
||||
AND c.PARENT_ID = #{PARENT_ID}
|
||||
</if>
|
||||
ORDER BY
|
||||
c.SORT
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue