fuliqi
2023-11-28 8dac3a3c993ef006d4765624e046577217d1a898
src/main/resources/mapper/ExamPaperUserMapper.xml
@@ -27,6 +27,11 @@
        where exam_paper_id = #{examPaperId} and deleted = 0
    </select>
    <select id="getByPaperIdAndCreatUser" resultType="java.lang.Integer">
        select user_id from t_exam_paper_user
        where exam_paper_id = #{examPaperId} and user_id = #{createUser}
    </select>
    <insert id="saves" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id">
        insert into t_exam_paper_user(id, exam_paper_id, user_id, deleted)
        values