diff --git a/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionItemMapper.xml b/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionItemMapper.xml
index be39626ea..c0ec90260 100644
--- a/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionItemMapper.xml
+++ b/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionItemMapper.xml
@@ -18,12 +18,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- id, content, number, exam_question_id, create_by, create_date, update_by, update_date, remarks, del_flag
+ select id, content, number, exam_question_id, create_by, create_date, update_by, update_date, remarks, del_flag from exam_question_item
+
+
+
+
+
+ insert into exam_question_item
+
+ id,
+ content,
+ number,
+ exam_question_id,
+ create_by,
+ create_date,
+ update_by,
+ update_date,
+ remarks,
+ del_flag,
+
+
+ #{id},
+ #{content},
+ #{number},
+ #{examQuestionId},
+ #{createBy},
+ #{createDate},
+ #{updateBy},
+ #{updateDate},
+ #{remarks},
+ #{delFlag},
+
+
+
+
+ update exam_question_item
+
+ content = #{content},
+ number = #{number},
+ exam_question_id = #{examQuestionId},
+ create_by = #{createBy},
+ create_date = #{createDate},
+ update_by = #{updateBy},
+ update_date = #{updateDate},
+ remarks = #{remarks},
+ del_flag = #{delFlag},
+
+ where id = #{id}
+
+
+ delete from exam_question_item where id = #{id}
+
+
+
+ delete from exam_question_item where id in
+
+ #{id}
+
+
\ No newline at end of file
diff --git a/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionMapper.xml b/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionMapper.xml
index a1567b5e4..a84bc6889 100644
--- a/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionMapper.xml
+++ b/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionMapper.xml
@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-
+
@@ -20,12 +20,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- id, title, answer, type, label, category_id, create_by, create_date, update_by, update_date, remarks, del_flag
+ select id, title, answer, type, label, category_id, create_by, create_date, update_by, update_date, remarks, del_flag from exam_question
+
-
+
+
+
+ insert into exam_question
+
+ id,
+ title,
+ answer,
+ type,
+ label,
+ category_id,
+ create_by,
+ create_date,
+ update_by,
+ update_date,
+ remarks,
+ del_flag,
+
+
+ #{id},
+ #{title},
+ #{answer},
+ #{type},
+ #{label},
+ #{categoryId},
+ #{createBy},
+ #{createDate},
+ #{updateBy},
+ #{updateDate},
+ #{remarks},
+ #{delFlag},
+
+
+
+
+ update exam_question
+
+ title = #{title},
+ answer = #{answer},
+ type = #{type},
+ label = #{label},
+ category_id = #{categoryId},
+ create_by = #{createBy},
+ create_date = #{createDate},
+ update_by = #{updateBy},
+ update_date = #{updateDate},
+ remarks = #{remarks},
+ del_flag = #{delFlag},
+
+ where id = #{id}
+
+
+
+ delete from exam_question where id = #{id}
+
+
+
+ delete from exam_question where id in
+
+ #{id}
+
+
+
\ No newline at end of file