"(t3.code like #{dto.stuInfo} or t6.name like #{dto.stuInfo})\n"+
"\tor "+
"(t5.code like #{dto.stuInfo} or t5.class_name like #{dto.stuInfo})"+
")</script>")
"<if test=\"dto.stuInfo !=null and dto.stuInfo !=''\">AND (t3.code like CONCAT('%',#{dto.stuInfo}.'%') or t6.name like CONCAT('%',#{dto.stuInfo}.'%')) </if> \n"+
@@ -133,7 +132,7 @@ public interface BChapterRepository extends BaseMapper<BChapter> {
* @param scoreInfoDTO
* @return
*/
@Update("<script>update b_r_student_chapter set chapter_id=#{chapterId},student_id=#{studentId},score=#{score} where business_id = #{businessId}</script>")
@Update("<script>update b_r_student_chapter set chapter_id=#{chapterId},automatic=#{automatic},student_id=#{studentId},score=#{score} where business_id = #{businessId}</script>")
intupdateScoreInfo(ScoreInfoDTOscoreInfoDTO);
/**
...
...
@@ -283,9 +282,9 @@ public interface BChapterRepository extends BaseMapper<BChapter> {