|
|
|
@ -19,6 +19,9 @@ queryByCondition
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingId)){
|
|
|
|
|
and t.general_question_setting_id =#generalQuestionSettingId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalResourcesQuestionLogType)){
|
|
|
|
|
and t.general_resources_question_log_type =#generalResourcesQuestionLogType#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingIdPlural)){
|
|
|
|
|
and find_in_set(t.general_question_setting_id,#generalQuestionSettingIdPlural#)
|
|
|
|
|
@}
|
|
|
|
@ -127,6 +130,9 @@ queryByConditionQuery
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingId)){
|
|
|
|
|
and t.general_question_setting_id =#generalQuestionSettingId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalResourcesQuestionLogType)){
|
|
|
|
|
and t.general_resources_question_log_type =#generalResourcesQuestionLogType#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingIdPlural)){
|
|
|
|
|
and find_in_set(t.general_question_setting_id,#generalQuestionSettingIdPlural#)
|
|
|
|
|
@}
|
|
|
|
@ -225,13 +231,20 @@ deleteGeneralQuestionLogByIds
|
|
|
|
|
|
|
|
|
|
update general_question_log set general_question_log_status = 2 where find_in_set(general_question_log_id,#ids#)
|
|
|
|
|
|
|
|
|
|
logicDeleteGeneralQuestionLogBySettingIds
|
|
|
|
|
logicdeleteBySettingIds
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
* 根据题目配置IDs批量删除(假删除)
|
|
|
|
|
|
|
|
|
|
update general_question_log set general_question_log_status = 2 where find_in_set(general_question_setting_id,#settingIds#)
|
|
|
|
|
|
|
|
|
|
deleteBySettingIds
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
* 根据题目配置IDs批量删除(假删除)
|
|
|
|
|
|
|
|
|
|
delete from general_question_log where find_in_set(general_question_setting_id,#settingIds#)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteByIds
|
|
|
|
|
===
|
|
|
|
@ -276,6 +289,13 @@ updateGivenByIds
|
|
|
|
|
general_question_log_answer = #generalQuestionLogAnswer# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("generalResourcesQuestionLogType",_given)){
|
|
|
|
|
@if(isEmpty(generalResourcesQuestionLogType)){
|
|
|
|
|
general_resources_question_log_type = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
general_resources_question_log_type = #generalResourcesQuestionLogType# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("generalQuestionLogUploadFile",_given)){
|
|
|
|
|
@if(isEmpty(generalQuestionLogUploadFile)){
|
|
|
|
|
general_question_log_upload_file = null ,
|
|
|
|
@ -428,6 +448,9 @@ getGeneralQuestionLogValues
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingId)){
|
|
|
|
|
and t.general_question_setting_id =#generalQuestionSettingId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalResourcesQuestionLogType)){
|
|
|
|
|
and t.general_resources_question_log_type =#generalResourcesQuestionLogType#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalResourcesQuestionSnapshotId)){
|
|
|
|
|
and t.general_resources_question_snapshot_id =#generalResourcesQuestionSnapshotId#
|
|
|
|
|
@}
|
|
|
|
@ -512,6 +535,9 @@ getValuesByQuery
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingId)){
|
|
|
|
|
and t.general_question_setting_id =#generalQuestionSettingId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalResourcesQuestionLogType)){
|
|
|
|
|
and t.general_resources_question_log_type =#generalResourcesQuestionLogType#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingIdPlural)){
|
|
|
|
|
and find_in_set(t.general_question_setting_id,#generalQuestionSettingIdPlural#)
|
|
|
|
|
@}
|
|
|
|
@ -618,6 +644,9 @@ getValuesByQueryNotWithPermission
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingId)){
|
|
|
|
|
and t.general_question_setting_id =#generalQuestionSettingId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalResourcesQuestionLogType)){
|
|
|
|
|
and t.general_resources_question_log_type =#generalResourcesQuestionLogType#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingIdPlural)){
|
|
|
|
|
and find_in_set(t.general_question_setting_id,#generalQuestionSettingIdPlural#)
|
|
|
|
|
@}
|
|
|
|
@ -748,6 +777,9 @@ getExcelValues
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingId)){
|
|
|
|
|
and t.general_question_setting_id =#generalQuestionSettingId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalResourcesQuestionLogType)){
|
|
|
|
|
and t.general_resources_question_log_type =#generalResourcesQuestionLogType#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingIdPlural)){
|
|
|
|
|
and find_in_set(t.general_question_setting_id,#generalQuestionSettingIdPlural#)
|
|
|
|
|
@}
|
|
|
|
@ -870,6 +902,9 @@ getExcelValues
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingId)){
|
|
|
|
|
and t.general_question_setting_id =#generalQuestionSettingId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalResourcesQuestionLogType)){
|
|
|
|
|
and t.general_resources_question_log_type =#generalResourcesQuestionLogType#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingIdPlural)){
|
|
|
|
|
and find_in_set(t.general_question_setting_id,#generalQuestionSettingIdPlural#)
|
|
|
|
|
@}
|
|
|
|
@ -987,6 +1022,9 @@ studentScoreList
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingId)){
|
|
|
|
|
and t.general_question_setting_id =#generalQuestionSettingId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalResourcesQuestionLogType)){
|
|
|
|
|
and t.general_resources_question_log_type =#generalResourcesQuestionLogType#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(generalQuestionSettingIdPlural)){
|
|
|
|
|
and find_in_set(t.general_question_setting_id,#generalQuestionSettingIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|