|
@@ -10,10 +10,10 @@
|
|
|
cc_quest_option as ccQuestOption,
|
|
cc_quest_option as ccQuestOption,
|
|
|
cc_ai_answer as ccAiAnswer,
|
|
cc_ai_answer as ccAiAnswer,
|
|
|
cc_answer as ccAnswer, cc.cc_quest_id as ccQuestId, cc.cc_time as ccTime, cc.cc_answer_judge as ccAnswerJudge,
|
|
cc_answer as ccAnswer, cc.cc_quest_id as ccQuestId, cc.cc_time as ccTime, cc.cc_answer_judge as ccAnswerJudge,
|
|
|
- c.course_name as courseName,
|
|
|
|
|
|
|
+ c.bc_name as courseName,
|
|
|
cc_ai_quest_tip as ccAiQuestTip
|
|
cc_ai_quest_tip as ccAiQuestTip
|
|
|
- FROM bjdx_course_config cc
|
|
|
|
|
- LEFT JOIN bjdx_course c ON cc.cc_course_id = c.id
|
|
|
|
|
|
|
+ FROM blockly_course_config cc
|
|
|
|
|
+ LEFT JOIN blockly_course c ON cc.cc_course_id = c.id
|
|
|
<where>
|
|
<where>
|
|
|
c.deleted = 0 and cc.deleted = 0
|
|
c.deleted = 0 and cc.deleted = 0
|
|
|
<if test="ccCourseId != null and ccCourseId != ''">
|
|
<if test="ccCourseId != null and ccCourseId != ''">
|
|
@@ -35,8 +35,8 @@
|
|
|
</select>
|
|
</select>
|
|
|
<select id="selectBlocklyConfigCount" parameterType="cn.iocoder.byzs.module.blockly.controller.admin.blocklyConfig.vo.BlocklyConfigPageReqVO" resultType="java.lang.Integer">
|
|
<select id="selectBlocklyConfigCount" parameterType="cn.iocoder.byzs.module.blockly.controller.admin.blocklyConfig.vo.BlocklyConfigPageReqVO" resultType="java.lang.Integer">
|
|
|
SELECT count(*)
|
|
SELECT count(*)
|
|
|
- FROM bjdx_course_config cc
|
|
|
|
|
- LEFT JOIN bjdx_course c ON cc.cc_course_id = c.id
|
|
|
|
|
|
|
+ FROM blockly_course_config cc
|
|
|
|
|
+ LEFT JOIN blockly_course c ON cc.cc_course_id = c.id
|
|
|
<where>
|
|
<where>
|
|
|
c.deleted = 0 and cc.deleted = 0
|
|
c.deleted = 0 and cc.deleted = 0
|
|
|
<if test="ccCourseId != null and ccCourseId != ''">
|
|
<if test="ccCourseId != null and ccCourseId != ''">
|