xiangpei
2024-07-09 c2cd507da74f1841d0133d4c9bff9025ce1066ba
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>