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
相關文章
相關標籤/搜索