xiangpei
2024-05-16 f1e20b08fcc05d78e3d25921494f92f5b9ca49cf
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>