| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | /** |
| | | * 这里维保计划创建后, |
| | |
| | | @Autowired |
| | | private DeviceMaintainService service; |
| | | |
| | | @GetMapping("page") |
| | | /*@PostMapping("page") |
| | | @ApiOperation(value = "查询计划分页") |
| | | public Response getPageByCondition(@RequestParam Integer pageNum, @RequestParam Integer pageSize, |
| | | @RequestBody DeviceMaintainDTO maintainDTO |
| | | ) { |
| | | return service.getPageByCondition(pageNum, pageSize,maintainDTO); |
| | | }*/ |
| | | |
| | | @PostMapping("page") |
| | | @ApiOperation(value = "查询计划分页") |
| | | public Response getPageByCondition(@RequestParam Integer pageNum, @RequestParam Integer pageSize, |
| | | @RequestBody DeviceMaintainDTO maintainDTO |
| | | ) { |
| | | return service.getPageByCondition2(pageNum, pageSize,maintainDTO); |
| | | } |
| | | |
| | | @GetMapping |