Browse Source

复制课程新增 train_task_step_scenario复制

GUXI 2 years ago
parent
commit
e1555283cd

+ 2 - 0
ruoyi-system/src/main/resources/mapper/dlhh/TrainTaskStepCoursewareMapper.xml

@@ -77,6 +77,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         where step_id=#{stepId};
         INSERT  INTO train_task_step_question (step_id, role_id, question_id) SELECT #{taskIdNew}, role_id, question_id FROM train_task_step_question
         where step_id=#{stepId};
+        INSERT  INTO train_task_step_scenario (step_id, role_id, file_id) SELECT #{taskIdNew}, role_id, file_id FROM train_task_step_scenario
+        where step_id=#{stepId};
     </insert>
 
 </mapper>