|
|
@ -73,6 +73,9 @@ queryByCondition
|
|
|
|
@if(!isEmpty(teacherOpenCourseQuestionSettingRequire)){
|
|
|
|
@if(!isEmpty(teacherOpenCourseQuestionSettingRequire)){
|
|
|
|
and t.teacher_open_course_question_setting_require =#teacherOpenCourseQuestionSettingRequire#
|
|
|
|
and t.teacher_open_course_question_setting_require =#teacherOpenCourseQuestionSettingRequire#
|
|
|
|
@}
|
|
|
|
@}
|
|
|
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeCourseInfoId)){
|
|
|
|
|
|
|
|
and t.teacher_open_course_merge_course_info_id =#teacherOpenCourseMergeCourseInfoId#
|
|
|
|
|
|
|
|
@}
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
@}
|
|
|
|
@}
|
|
|
@ -160,6 +163,9 @@ queryByConditionQuery
|
|
|
|
@if(!isEmpty(teacherOpenCourseQuestionSettingRequire)){
|
|
|
|
@if(!isEmpty(teacherOpenCourseQuestionSettingRequire)){
|
|
|
|
and t.teacher_open_course_question_setting_require =#teacherOpenCourseQuestionSettingRequire#
|
|
|
|
and t.teacher_open_course_question_setting_require =#teacherOpenCourseQuestionSettingRequire#
|
|
|
|
@}
|
|
|
|
@}
|
|
|
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeCourseInfoId)){
|
|
|
|
|
|
|
|
and t.teacher_open_course_merge_course_info_id =#teacherOpenCourseMergeCourseInfoId#
|
|
|
|
|
|
|
|
@}
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
@}
|
|
|
|
@}
|
|
|
@ -318,6 +324,13 @@ updateGivenByIds
|
|
|
|
teacher_open_course_question_setting_require = #teacherOpenCourseQuestionSettingRequire# ,
|
|
|
|
teacher_open_course_question_setting_require = #teacherOpenCourseQuestionSettingRequire# ,
|
|
|
|
@}
|
|
|
|
@}
|
|
|
|
@}
|
|
|
|
@}
|
|
|
|
|
|
|
|
@if(contain("teacherOpenCourseMergeCourseInfoId",_given)){
|
|
|
|
|
|
|
|
@if(isEmpty(teacherOpenCourseMergeCourseInfoId)){
|
|
|
|
|
|
|
|
teacher_open_course_merge_course_info_id = null ,
|
|
|
|
|
|
|
|
@}else{
|
|
|
|
|
|
|
|
teacher_open_course_merge_course_info_id = #teacherOpenCourseMergeCourseInfoId# ,
|
|
|
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
@}
|
|
|
|
@if(contain("orgId",_given)){
|
|
|
|
@if(contain("orgId",_given)){
|
|
|
|
@if(isEmpty(orgId)){
|
|
|
|
@if(isEmpty(orgId)){
|
|
|
|
org_id = null ,
|
|
|
|
org_id = null ,
|
|
|
@ -398,6 +411,9 @@ getTeacherOpenCourseQuestionSettingValues
|
|
|
|
@if(!isEmpty(teacherOpenCourseQuestionSettingRequire)){
|
|
|
|
@if(!isEmpty(teacherOpenCourseQuestionSettingRequire)){
|
|
|
|
and t.teacher_open_course_question_setting_require =#teacherOpenCourseQuestionSettingRequire#
|
|
|
|
and t.teacher_open_course_question_setting_require =#teacherOpenCourseQuestionSettingRequire#
|
|
|
|
@}
|
|
|
|
@}
|
|
|
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeCourseInfoId)){
|
|
|
|
|
|
|
|
and t.teacher_open_course_merge_course_info_id =#teacherOpenCourseMergeCourseInfoId#
|
|
|
|
|
|
|
|
@}
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
@}
|
|
|
|
@}
|
|
|
@ -477,6 +493,9 @@ getValuesByQuery
|
|
|
|
@if(!isEmpty(teacherOpenCourseQuestionSettingRequire)){
|
|
|
|
@if(!isEmpty(teacherOpenCourseQuestionSettingRequire)){
|
|
|
|
and t.teacher_open_course_question_setting_require =#teacherOpenCourseQuestionSettingRequire#
|
|
|
|
and t.teacher_open_course_question_setting_require =#teacherOpenCourseQuestionSettingRequire#
|
|
|
|
@}
|
|
|
|
@}
|
|
|
|
|
|
|
|
@if(!isEmpty(teacherOpenCourseMergeCourseInfoId)){
|
|
|
|
|
|
|
|
and t.teacher_open_course_merge_course_info_id =#teacherOpenCourseMergeCourseInfoId#
|
|
|
|
|
|
|
|
@}
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
@}
|
|
|
|
@}
|
|
|
|