List Map 驼峰

@Override
	public List<Map<String, Object>> runListSql(String sqlStr) {
		List<Map<String,Object>> lst = new ArrayList<>();
		lst = baseMapper.runListSql(sqlStr);
		return lst.stream().map(MapUtil::toCamelCaseMap).collect(Collectors.toList());
	}
	
	public R getCommunityStatisticsPage(Page page, @RequestBody Map<String, String> paramMap) {
		//IPage ip = new Page();
		//ip = communityPeopleService.getCommunityStatisticsPage(page, paramMap);
		//ip.setRecords(getComputeScore(ip.getRecords()));
		//return R.ok(ip.setRecords(getComputeScore(ip.getRecords())));
		return R.ok(communityPeopleService.getCommunityStatisticsPage(page, paramMap));
posted @   寒冷的雨呢  阅读(7)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 单元测试从入门到精通
历史上的今天:
2022-09-26 使用hutool工具进行导入导出excel表格
2022-09-26 hutool的Excel工具导出不同sheet的标题问题
2022-09-26 记导出文件类型responseType:blob的坑
点击右上角即可分享
微信分享提示