|
|
@ -41,18 +41,19 @@ public class TicketProcessController { |
|
|
|
@ApiOperation("启动流程") |
|
|
|
@ApiOperation("启动流程") |
|
|
|
@PostMapping("/startUp") |
|
|
|
@PostMapping("/startUp") |
|
|
|
public R start(@RequestBody WorkTicketVo workTicketVo) { |
|
|
|
public R start(@RequestBody WorkTicketVo workTicketVo) { |
|
|
|
ticketProcessService.startUp(workTicketVo); |
|
|
|
Long ticketId = ticketProcessService.startUp(workTicketVo); |
|
|
|
return R.success("申请开票成功"); |
|
|
|
return R.data(ticketId); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 工作票待处理 |
|
|
|
* 工作票待处理 |
|
|
|
|
|
|
|
* |
|
|
|
* @param response |
|
|
|
* @param response |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@PostMapping("/findPending") |
|
|
|
@PostMapping("/findPending") |
|
|
|
@ApiOperation(value = "工作票待处理") |
|
|
|
@ApiOperation(value = "工作票待处理") |
|
|
|
public Boolean findPending(@RequestBody ProcessWorkFlowResponse response){ |
|
|
|
public Boolean findPending(@RequestBody ProcessWorkFlowResponse response) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
ticketProcessService.findPending(response); |
|
|
|
ticketProcessService.findPending(response); |
|
|
|
return true; |
|
|
|
return true; |
|
|
@ -62,8 +63,6 @@ public class TicketProcessController { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 预览 |
|
|
|
* 预览 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|