|
|
|
@ -91,13 +91,16 @@ public class OperAccessTaskController extends BladeController {
|
|
|
|
|
* 分页 |
|
|
|
|
*/ |
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/list") |
|
|
|
|
@PostMapping("/list") |
|
|
|
|
@ApiOperationSupport(order = 50) |
|
|
|
|
@OperationAnnotation(moduleName = "检修管理",title = "我的检修任务",operatorType = OperatorType.MOBILE,businessType = |
|
|
|
|
BusinessType.GENCODE, |
|
|
|
|
action = "分页查询我的检修任务列表") |
|
|
|
|
@ApiOperation(value = "分页 查询参数:name,code,handler,status,planId,planCode") |
|
|
|
|
public R<IPage<OperAccessTaskVO>> list(OperAccessTaskDTO req, Query query) { |
|
|
|
|
public R<IPage<OperAccessTaskVO>> list(@RequestBody OperAccessTaskDTO req) { |
|
|
|
|
Query query=new Query(); |
|
|
|
|
query.setCurrent(req.getCurrent()); |
|
|
|
|
query.setSize(req.getSize()); |
|
|
|
|
return service.list(req, query); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|