qirong
2023-11-29 13f796dc50449ae2ec525ef02aaf4b49a91a564b
src/main/resources/mapper/ExamTemplatesUserCountMapper.xml
@@ -61,6 +61,11 @@
        where user_id = #{userId}  and exam_templates_id = #{id}
    </select>
    <select id="getCountByUserIdAndTemplatesId" resultType="java.lang.Integer" parameterType="com.mindskip.xzs.domain.vo.ExamTemplatesUserCountVO">
        select count(*) from t_exam_templates_user_count
        where user_id = #{userId}  and exam_templates_id = #{id}
    </select>
    <select id="getByTemplates" resultMap="BaseResultMap">
        select * from t_exam_templates_user_count
        where exam_templates_id = #{id}