@@ -125,7 +125,7 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
...
@@ -125,7 +125,7 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
* @param scoreInfoDTO
* @param scoreInfoDTO
* @return
* @return
*/
*/
@Insert("</script>insert into b_r_student_chapter(business_id,chapter_id,student_id,score) values(#{businessId},#{chapterId},#{studentId},#{score})</script>")
@Insert("</script>insert into b_r_student_chapter(business_id,chapter_id,student_id,score,sl_id) values(#{businessId},#{chapterId},#{studentId},#{score},#{slId})</script>")
intinsertScoreInfo(ScoreInfoDTOscoreInfoDTO);
intinsertScoreInfo(ScoreInfoDTOscoreInfoDTO);
/**
/**
...
@@ -141,7 +141,7 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
...
@@ -141,7 +141,7 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
* @param scoreInfoDTO
* @param scoreInfoDTO
* @return
* @return
*/
*/
@Insert("<script>insert into b_r_student_chapter(business_id,student_id,chapter_id,is_complete) values (#{businessId},#{studentId},#{chapterId},#{isComplete})</script>")
@Insert("<script>insert into b_r_student_chapter(business_id,student_id,chapter_id,is_complete,sl_id) values (#{businessId},#{studentId},#{chapterId},#{isComplete},#{slId})</script>")
intupdateIsComplete(ScoreInfoDTOscoreInfoDTO);
intupdateIsComplete(ScoreInfoDTOscoreInfoDTO);
/**
/**
...
@@ -235,5 +235,10 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
...
@@ -235,5 +235,10 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
@Update("<script>update b_chapter set automatic = #{automatic} where business_id = #{businessId}</script>")
@Update("<script>update b_chapter set automatic = #{automatic} where business_id = #{businessId}</script>")