whycxzp
2021-03-30 2653db7013675f4836e43f2cc1126d1c1f22f277
更新设备维保接口
1个文件已修改
10 ■■■■ 已修改文件
src/main/java/com/whyc/controller/DeviceMaintainController.java 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/controller/DeviceMaintainController.java
@@ -27,17 +27,17 @@
    @Autowired
    private DeviceMaintainService service;
    @PostMapping("page")
    /*@PostMapping("page")
    @ApiOperation(value = "查询计划分页")
    public Response getPageByCondition(@RequestParam Integer pageNum, @RequestParam Integer pageSize,
                                       @RequestBody DeviceMaintainDTO maintainDTO
    ) {
        return service.getPageByCondition(pageNum, pageSize,maintainDTO);
    }
    }*/
    @PostMapping("page2")
    @ApiOperation(value = "查询计划分页2")
    public Response getPageByCondition2(@RequestParam Integer pageNum, @RequestParam Integer pageSize,
    @PostMapping("page")
    @ApiOperation(value = "查询计划分页")
    public Response getPageByCondition(@RequestParam Integer pageNum, @RequestParam Integer pageSize,
                                       @RequestBody DeviceMaintainDTO maintainDTO
    ) {
        return service.getPageByCondition2(pageNum, pageSize,maintainDTO);