mapper.xml遍历map中List

List<ProjectEntity> list = 获取数据集; map.put("list",list); <foreach collection="lsit" item="item" index="index" separator="union all"> select <!-- 获取实体类中属性值 --> #{item.projectId}, #{item.project
相关文章
相关标签/搜索