|
|
@ -41,7 +41,7 @@ public class WarehousingPledgeRest { |
|
|
|
|
|
|
|
@ApiOperation("分页列表") |
|
|
|
@PostMapping("/listPage") |
|
|
|
ResultBean<PagerVo<WarehousingPledgeVo>> listPage(PagerQuery<WarehousingPledgeQuery> pagerQuery) { |
|
|
|
ResultBean<PagerVo<WarehousingPledgeVo>> listPage(@RequestBody PagerQuery<WarehousingPledgeQuery> pagerQuery) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
PagerVo<WarehousingPledgeVo> pv = warehousingPledgeService.listPageVo(pagerQuery); |
|
|
|
return rb.success().setData(pv); |
|
|
@ -84,16 +84,19 @@ public class WarehousingPledgeRest { |
|
|
|
ResultBean<List<GetNodeVo>> getNextNodesForSubmit(@SpringQueryMap GetNodeQuery query) { |
|
|
|
return warehousingPledgeService.getNextNodesForSubmit(query); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("驳回") |
|
|
|
@PostMapping(value = "/taskReject") |
|
|
|
public ResultBean taskReject(PledgeTaskQuery query) { |
|
|
|
return warehousingPledgeService.taskReject(query); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("撤回") |
|
|
|
@PostMapping(value = "/revokeProcess") |
|
|
|
public ResultBean revokeProcess(PledgeTaskQuery query) { |
|
|
|
return warehousingPledgeService.revokeProcess(query); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("终止") |
|
|
|
@PostMapping(value = "/breakProcess") |
|
|
|
public ResultBean breakProcess(PledgeTaskQuery query) { |
|
|
@ -101,6 +104,4 @@ public class WarehousingPledgeRest { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|