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 @ 2024-09-26 09:15  寒冷的雨呢  阅读(6)  评论(0编辑  收藏  举报