mabatis 多参数包含list时,使用foreach的用法

mabatis 多参数包含list时,使用foreach的用法 (1)单个参数为list 注意:使用@param注解时,mapper指定了参数名,xml中须要严格匹配 dao部分的mapperweb public void getTags(@Param("tagIdList")List<Integer> tagIdList);数据库 xml部分:app <select id="getTags">
相关文章
相关标签/搜索