src/main/java/com/moral/controller/DeviceController.java
@@ -37,10 +37,10 @@ public ResultBean<Integer> countByExample(PageBean pageBean){ return new ResultBean<Integer>(deviceService.countByExample(pageBean)); } @GetMapping("count-by-times") /* @GetMapping("count-by-times") public ResultBean<List<Map>> countByTimes(Date start, Date end){ return new ResultBean<List<Map>>(deviceService.countByTimes(start,end,"%Y-%m")); } }*/ @GetMapping("page-list") public PageBean pageList(PageBean pageBean) { return deviceService.queryByPageBean(pageBean);