修复sql

beetlsql3-dev
Mlxa0324 2 years ago
parent 787b4a5c3a
commit 579d32adcf

@ -1248,7 +1248,7 @@ verifyLogAddTypeIsReSend
COUNT(1) > 0 COUNT(1) > 0
FROM FROM
general_question_setting t general_question_setting t
LEFT JOIN general_question_log ta ON ta.general_question_setting_id = t.general_question_setting_id INNER JOIN general_question_log ta ON ta.general_question_setting_id = t.general_question_setting_id
AND t.general_question_setting_status = 1 AND t.general_question_setting_status = 1
AND t.general_question_setting_type = #questionSettingType# AND t.general_question_setting_type = #questionSettingType#
AND t.general_question_setting_id = #questionSettingId# AND t.general_question_setting_id = #questionSettingId#

@ -759,7 +759,7 @@ verifyLogAddTypeIsReSend
COUNT(1) > 0 COUNT(1) > 0
FROM FROM
teacher_open_course_question_setting t teacher_open_course_question_setting t
LEFT JOIN teacher_open_course_question_log ta ON ta.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id INNER JOIN teacher_open_course_question_log ta ON ta.teacher_open_course_question_setting_id = t.teacher_open_course_question_setting_id
AND t.teacher_open_course_question_setting_status = 1 AND t.teacher_open_course_question_setting_status = 1
AND t.teacher_open_course_question_setting_type = #questionSettingType# AND t.teacher_open_course_question_setting_type = #questionSettingType#
AND t.teacher_open_course_question_setting_id = #questionSettingId# AND t.teacher_open_course_question_setting_id = #questionSettingId#

Loading…
Cancel
Save