龚焕茏
2024-05-14 c88e763c3a2c6a432189df33e567e71f30861e32
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