| | |
| | | @GetMapping("workflowInfo") |
| | | @ApiOperation(value = "工单节点列表") |
| | | public Response<List<WorkflowLink>> getWorkflowInfo(@RequestParam Integer mainId){ |
| | | return new Response<List<WorkflowLink>>().set(1,service.getWorkflowInfo(mainId)); |
| | | return new Response<List<WorkflowLink>>().set(1, service.getWorkflowInfo(mainId)); |
| | | } |
| | | |
| | | @PutMapping("linkOfDischargePlanTemp") |
| | | @ApiOperation(value = "更新节点-放电计划",notes = "传参link对象内,传入id,mainId,processLevel,status,dealReason或者dealRejectReason;" + |
| | | @ApiOperation(value = "更新节点-放电计划", notes = "传参link对象内,传入id,mainId,processLevel,status,dealReason或者dealRejectReason;" + |
| | | "字段status:5-通过,8-驳回") |
| | | public Response updateLinkOfDischargePlanTemp(@RequestBody WorkflowLinkDTO linkDTO){ |
| | | public Response updateLinkOfDischargePlanTemp(@RequestBody WorkflowLinkDTO linkDTO) { |
| | | return service.updateLinkOfDischargePlanTemp(linkDTO); |
| | | } |
| | | |
| | | @PostMapping("linkOfTemp") |
| | | @ApiOperation(value = "更新节点(除放电计划之外的)", notes = "传参link对象内,传入id,mainId,status,dealReason或者dealRejectReason;" + |
| | | "字段status:5-通过,8-驳回") |
| | | public Response linkOfTemp(@RequestBody WorkflowLink link) { |
| | | return service.linkOfTemp(link); |
| | | } |
| | | |
| | | @GetMapping("searchTmp") |
| | | @ApiOperation(value = "查询节点(除放电计划之外的)") |
| | | public Response searchTmp(@RequestParam int type, @RequestParam int status, @RequestParam int pageNum, @RequestParam int pageSize) { |
| | | return service.searchTmp(type, status, pageNum, pageSize); |
| | | } |
| | | |
| | | @GetMapping("searchLastHrById") |
| | | @ApiOperation(value = "节点为二次放电时查询二次放电参数和本年上一次有效核容数据") |
| | | public Response searchLastHrById(@RequestParam int mid) { |
| | | return service.searchLastHrById(mid); |
| | | } |
| | | |
| | | @GetMapping("getFlowMain") |
| | | @ApiOperation(value = "查询自己申请的工单(去除放电计划)") |
| | | public Response getFlowMainByUid(@RequestParam int type, @RequestParam int status, @RequestParam int pageNum, @RequestParam int pageSize) { |
| | | return service.getFlowMainByUid(type, status, pageNum, pageSize); |
| | | } |
| | | } |