|
@@ -618,14 +618,8 @@ public class BpmReceivedProvider extends GenericProvider implements IBpmReceived
|
|
|
|
|
|
|
|
@ApiOperation(value = "个人中心-待办事务-用户类型", notes = "个人中心-待办事务-用户类型")
|
|
@ApiOperation(value = "个人中心-待办事务-用户类型", notes = "个人中心-待办事务-用户类型")
|
|
|
@Override
|
|
@Override
|
|
|
- public APIResult<List<BpmTaskPo>> pending4User2() {
|
|
|
|
|
- APIResult<List<BpmTaskPo>> result = new APIResult<>();
|
|
|
|
|
- APIResult<APIPageList<BpmTaskPo>> page = pending4User(new APIRequest(1, 20));
|
|
|
|
|
- if(page.isSuccess() && BeanUtils.isNotEmpty(page.getData())) {
|
|
|
|
|
- result.setData(page.getData().getDataResult());
|
|
|
|
|
- }else {
|
|
|
|
|
- result.setData(new ArrayList<>());
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ public APIResult<APIPageList<BpmTaskPo>> pending4User2() {
|
|
|
|
|
+ APIResult<APIPageList<BpmTaskPo>> result = pending4User(new APIRequest(1, 20));
|
|
|
return result;
|
|
return result;
|
|
|
}
|
|
}
|
|
|
|
|
|