mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	style: 优化部分代码格式
This commit is contained in:
		| @@ -19,7 +19,6 @@ package top.charles7c.cnadmin.monitor.service.impl; | ||||
| import java.math.BigDecimal; | ||||
| import java.util.List; | ||||
| import java.util.Map; | ||||
| import java.util.stream.Collectors; | ||||
|  | ||||
| import lombok.RequiredArgsConstructor; | ||||
|  | ||||
| @@ -91,8 +90,7 @@ public class DashboardServiceImpl implements DashboardService { | ||||
|         List<Map<String, Object>> locationIpStatistics = logService.listDashboardGeoDistribution(); | ||||
|         DashboardGeoDistributionResp geoDistribution = new DashboardGeoDistributionResp(); | ||||
|         geoDistribution.setLocationIpStatistics(locationIpStatistics); | ||||
|         geoDistribution.setLocations( | ||||
|             locationIpStatistics.stream().map(m -> Convert.toStr(m.get("name"))).collect(Collectors.toList())); | ||||
|         geoDistribution.setLocations(locationIpStatistics.stream().map(m -> Convert.toStr(m.get("name"))).toList()); | ||||
|         return geoDistribution; | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -139,10 +139,9 @@ public class LogServiceImpl implements LogService { | ||||
|     public SystemLogDetailResp get(Long id) { | ||||
|         LogDO logDO = logMapper.selectById(id); | ||||
|         CheckUtils.throwIfNotExists(logDO, "LogDO", "ID", id); | ||||
|  | ||||
|         SystemLogDetailResp detailVO = BeanUtil.copyProperties(logDO, SystemLogDetailResp.class); | ||||
|         this.fill(detailVO); | ||||
|         return detailVO; | ||||
|         SystemLogDetailResp detail = BeanUtil.copyProperties(logDO, SystemLogDetailResp.class); | ||||
|         this.fill(detail); | ||||
|         return detail; | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|   | ||||
		Reference in New Issue
	
	Block a user