diff --git a/src/main/java/com/zcloud/mapper/dsno3/eduStudy/ClassCurriculumChapterMapper.java b/src/main/java/com/zcloud/mapper/dsno3/eduStudy/ClassCurriculumChapterMapper.java index 1e99615..842bce6 100644 --- a/src/main/java/com/zcloud/mapper/dsno3/eduStudy/ClassCurriculumChapterMapper.java +++ b/src/main/java/com/zcloud/mapper/dsno3/eduStudy/ClassCurriculumChapterMapper.java @@ -8,4 +8,8 @@ import java.util.List; public interface ClassCurriculumChapterMapper { List getListByClass(PageData data); + + List listAll(PageData data); + + void deleteByCur(PageData pd); } diff --git a/src/main/java/com/zcloud/mapper/dsno3/eduSystem/ClassCurriculumChapterMapper.java b/src/main/java/com/zcloud/mapper/dsno3/eduSystem/ClassCurriculumChapterMapper.java deleted file mode 100644 index 0ac2d31..0000000 --- a/src/main/java/com/zcloud/mapper/dsno3/eduSystem/ClassCurriculumChapterMapper.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.zcloud.mapper.dsno3.eduSystem; - -import com.zcloud.entity.PageData; - -import java.util.List; - -public interface ClassCurriculumChapterMapper { - - List listAll(PageData data); - - void deleteByCur(PageData pd); -} diff --git a/src/main/java/com/zcloud/service/eduStudy/impl/ClassPostServiceImpl.java b/src/main/java/com/zcloud/service/eduStudy/impl/ClassPostServiceImpl.java index 8803aad..a283f69 100644 --- a/src/main/java/com/zcloud/service/eduStudy/impl/ClassPostServiceImpl.java +++ b/src/main/java/com/zcloud/service/eduStudy/impl/ClassPostServiceImpl.java @@ -2,7 +2,7 @@ package com.zcloud.service.eduStudy.impl; import com.zcloud.entity.PageData; import com.zcloud.mapper.dsno3.eduStudy.*; -import com.zcloud.mapper.dsno3.eduSystem.ClassCurriculumChapterMapper; +import com.zcloud.mapper.dsno3.eduStudy.ClassCurriculumChapterMapper; import com.zcloud.service.eduStudy.ClassPostService; import com.zcloud.util.InitPageDataUtil; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/java/com/zcloud/service/eduStudy/impl/ClassServiceImpl.java b/src/main/java/com/zcloud/service/eduStudy/impl/ClassServiceImpl.java index d3cf73d..db1e445 100644 --- a/src/main/java/com/zcloud/service/eduStudy/impl/ClassServiceImpl.java +++ b/src/main/java/com/zcloud/service/eduStudy/impl/ClassServiceImpl.java @@ -4,7 +4,6 @@ import com.zcloud.entity.Page; import com.zcloud.entity.PageData; import com.zcloud.mapper.dsno3.eduBus.StrengthenStudentRelationMapper; import com.zcloud.mapper.dsno3.eduStudy.*; -import com.zcloud.mapper.dsno3.eduSystem.ClassCurriculumChapterMapper; import com.zcloud.service.eduStudy.ClassService; import com.zcloud.util.DateUtil; import com.zcloud.util.Jurisdiction; diff --git a/src/main/resources/mybatis/dsno3/eduStudy/ClassCurriculumChapterMapper.xml b/src/main/resources/mybatis/dsno3/eduStudy/ClassCurriculumChapterMapper.xml index 05d0c6a..26e97cd 100644 --- a/src/main/resources/mybatis/dsno3/eduStudy/ClassCurriculumChapterMapper.xml +++ b/src/main/resources/mybatis/dsno3/eduStudy/ClassCurriculumChapterMapper.xml @@ -4,6 +4,28 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + + + BUS_CLASS_CURRICULUM_CHAPTER + + + + + 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 + + + + + + + + + update + + set + ISDELETE = '1', + OPERATOR = #{OPERATOR}, + OPERATTIME = #{OPERATTIME} + where + CURRICULUM_ID = #{CURRICULUM_ID} + and POST_ID = #{POST_ID} + and ISDELETE = '0' + + diff --git a/src/main/resources/mybatis/dsno3/eduSystem/ClassCurriculumChapterMapper.xml b/src/main/resources/mybatis/dsno3/eduSystem/ClassCurriculumChapterMapper.xml deleted file mode 100644 index de6925e..0000000 --- a/src/main/resources/mybatis/dsno3/eduSystem/ClassCurriculumChapterMapper.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - BUS_CLASS_CURRICULUM_CHAPTER - - - - - 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 - - - - - - - - update - - set - ISDELETE = '1', - OPERATOR = #{OPERATOR}, - OPERATTIME = #{OPERATTIME} - where - CURRICULUM_ID = #{CURRICULUM_ID} - and POST_ID = #{POST_ID} - and ISDELETE = '0' - -