实训案例增加状态

beetlsql3-dev
maLix
parent 57a40382e7
commit c55c28dffb

@ -586,4 +586,4 @@ CREATE TABLE `student_teacher_system_use_log_analysis` (
alter table teacher_open_course_merge_course_info add column system_course_info_id bigint(20) comment '关联系统课程ID' after teacher_open_course_id;
alter table teacher_open_course_hands_on add column hands_on_status int comment '案例状态 1上架 2下架 0删除' after user_id;
alter table teacher_open_course_hands_on add column hands_on_status int comment '案例状态 1上架 2下架 0删除' default 1 after user_id;

@ -49,6 +49,10 @@ queryByCondition
@if(!isEmpty(trainingData)){
and t.training_data =#trainingData#
@}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
queryByConditionQuery
@ -100,6 +104,9 @@ queryByConditionQuery
@if(!isEmpty(trainingData)){
and t.training_data =#trainingData#
@}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
@ -235,6 +242,10 @@ getTeacherOpenCourseHandsOnValues
@if(!isEmpty(startTime) && !isEmpty(endTime)){
and t.add_time BETWEEN #startTime# AND date_add(#endTime#,interval 1 day)
@}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
getValuesByQuery
@ -284,6 +295,10 @@ getValuesByQuery
@if(!isEmpty(trainingData)){
and t.training_data =#trainingData#
@}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
getValuesByQueryNotWithPermission
@ -333,6 +348,10 @@ getValuesByQueryNotWithPermission
@if(!isEmpty(trainingData)){
and t.training_data =#trainingData#
@}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
getHandsOnList
@ -410,6 +429,10 @@ getExcelValues
@if(!isEmpty(trainingData)){
and t.training_data =#trainingData#
@}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
)
UNION ALL
(
@ -462,6 +485,10 @@ getExcelValues
@if(!isEmpty(trainingData)){
and t.training_data =#trainingData#
@}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
)
)t

Loading…
Cancel
Save