| | |
| | | return service.getList(); |
| | | } |
| | | |
| | | @GetMapping("page") |
| | | /*@GetMapping("page") |
| | | @ApiOperation(value = "查询分页") |
| | | public Response<PageInfo<DeviceManage>> getPage(@RequestParam int pageNum, @RequestParam int pageSize){ |
| | | return service.getPage(pageNum,pageSize); |
| | | } |
| | | }*/ |
| | | |
| | | @PostMapping("pageByCondition") |
| | | @ApiOperation(value = "查询分页-根据筛选条件") |
| | |
| | | return service.getPageByCondition(pageNum,pageSize,deviceManage); |
| | | } |
| | | |
| | | |
| | | @GetMapping("site") |
| | | @ApiOperation(value = "查询所有区域") |
| | | public Response getSite(){ |
| | | return service.getSite(); |
| | | } |
| | | |
| | | |
| | | @PostMapping |
| | | @ApiOperation(value="添加-入库") |
| | | public Response add(@RequestBody DeviceManage deviceManage){ |