龚焕茏
2024-08-06 9279459400ea46c49ed583f4b1dcf7ad17093a33
src/main/resources/mapper/ExamTemplatesQuestionMapper.xml
@@ -16,7 +16,7 @@
    </sql>
    <insert id="add" parameterType="com.mindskip.xzs.domain.ExamTemplatesQuestion" useGeneratedKeys="true" keyProperty="id">
        insert into t_department (label, multiple_choice, single_choice, true_false, templates_id, subject_id)
        insert into t_exam_templates_question (label, multiple_choice, single_choice, true_false, templates_id, subject_id)
        values (#{label}, #{multipleChoice}, #{singleChoice}, #{trueFalse}, #{templatesId}, #{subjectId})
    </insert>