fix 类型错误

beetlsql3-dev
Mlxa0324 2 years ago
parent bb30a464e2
commit f1df0e4630

@ -137,7 +137,7 @@ public class TeacherOpenCourseQuestionSetting extends BaseEntity {
// 关联的班级列表 // 关联的班级列表
@FetchSql("select \n" + @FetchSql("select \n" +
"@if(strUtil.equalsIgnoreCase(teacherOpenCourseQuestionSettingId, 'ALL')) { \n" + "@if(strUtil.equalsIgnoreCase(teacherOpenCourseQuestionSettingId+'', 'ALL')) { \n" +
"'所有班级' \n" + "'所有班级' \n" +
"@} else { \n" + "@} else { \n" +
"group_concat(t.class_name) \n" + "group_concat(t.class_name) \n" +
@ -145,7 +145,7 @@ public class TeacherOpenCourseQuestionSetting extends BaseEntity {
"from school_class t where find_in_set(t.class_id, #teacherOpenCourseQuestionSettingSchoolClassIds#) \n" + "from school_class t where find_in_set(t.class_id, #teacherOpenCourseQuestionSettingSchoolClassIds#) \n" +
"and t.class_status = 1 \n" + "and t.class_status = 1 \n" +
// 像章节练习这块,是不关联班级的,可以理解只要是学生身份,且加入这个课程,就可以做题。这个时候,给默认的占位符 'ALL' 或者 'all' // 像章节练习这块,是不关联班级的,可以理解只要是学生身份,且加入这个课程,就可以做题。这个时候,给默认的占位符 'ALL' 或者 'all'
"@if(strUtil.equalsIgnoreCase(teacherOpenCourseQuestionSettingId, 'ALL')) { \n" + "@if(strUtil.equalsIgnoreCase(teacherOpenCourseQuestionSettingId+'', 'ALL')) { \n" +
"and 1 != 1 \n" + "and 1 != 1 \n" +
"@} \n") "@} \n")
private String teacherOpenCourseQuestionSettingSchoolClassNames; private String teacherOpenCourseQuestionSettingSchoolClassNames;

Loading…
Cancel
Save