qirong
2023-11-28 fe0a4c0495cf9f1a65343158c2a8c2d4a163e045
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}