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>