From c8c1e7684adc9d84a80e765f8f02ee48802b409c Mon Sep 17 00:00:00 2001 From: wgf <121463602@qq.com> Date: Thu, 6 Jul 2023 21:07:23 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/main/resources/sql/jlw/teacherOpenCourseChatLog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/main/resources/sql/jlw/teacherOpenCourseChatLog.md b/web/src/main/resources/sql/jlw/teacherOpenCourseChatLog.md index ba048e81..e0bb4b46 100644 --- a/web/src/main/resources/sql/jlw/teacherOpenCourseChatLog.md +++ b/web/src/main/resources/sql/jlw/teacherOpenCourseChatLog.md @@ -32,9 +32,9 @@ queryByCondition @if(!isEmpty(teacherOpenCourseIdPlural)){ and find_in_set(t.teacher_open_course_id,#teacherOpenCourseIdPlural#) @} - @if(!isEmpty( )){ + @if(!isEmpty(schoolClassIds)){ and IF - ( t.school_class_idsZ not null, TRUE, + ((t.school_class_ids is null or t.school_class_ids = ''), TRUE, @for(var classId in strUtil.split(schoolClassIds, ',')) { find_in_set(#classId#, t.school_class_ids) or @}