xiangpei
2024-07-16 6e72545fc4ff922354192b16eb14e92c1e1f75c1
src/main/resources/mapper/ExamTemplatesUserMapper.xml
@@ -28,4 +28,11 @@
        from t_exam_templates_user where user_id = #{userId} and templates_id = #{templatesId}
    </select>
    <select id="getResult" resultMap="BaseResultMap" parameterType="list">
    select * from t_exam_templates_user  where (templates_ID) in
    <foreach collection="list" item="item" open="(" close=")" separator=",">
        (#{item})
    </foreach>
    </select>
</mapper>