道路污染事件时间显示去掉时分秒
This commit is contained in:
parent
20a10d977a
commit
0e958c92ea
|
@ -299,6 +299,9 @@ public class QidiController {
|
|||
@ApiOperation("查询全部道路污染累计事件数量")
|
||||
public Result selectRoadData(Integer page,Integer pageSize){
|
||||
List<RoadData> roadData = roadDataMapper.selectRoadData(page,pageSize);
|
||||
roadData.forEach(roadData1 -> {
|
||||
roadData1.setDt(roadData1.getDt().substring(0,10));
|
||||
});
|
||||
Integer integer = roadDataMapper.selectCountRoadData();
|
||||
Map<String,Object> map = new HashMap<>();
|
||||
map.put("sum",integer);
|
||||
|
|
Loading…
Reference in New Issue