Selaa lähdekoodia

[TASK-1362] 首页-待办接口增加流程办理进度

szjbdgzl 2 vuotta sitten
vanhempi
sitoutus
55e55e5495

+ 1 - 1
ibps-provider-base-root/modules/provider-bpmn-api/src/main/java/com/lc/ibps/office/api/IBpmReceivedService.java

@@ -175,7 +175,7 @@ public interface IBpmReceivedService {
 	 * @since 3.2.4
 	 */
 	@RequestMapping(value = "/query/pending/user2",method = {RequestMethod.GET})
-	public APIResult<List<BpmTaskPo>> pending4User2();
+	public APIResult<APIPageList<BpmTaskPo>> pending4User2();
 	
 	/**
 	 * 个人中心-待办事务-组织类型

+ 2 - 8
ibps-provider-root/modules/provider-bpmn/src/main/java/com/lc/ibps/office/provider/BpmReceivedProvider.java

@@ -618,14 +618,8 @@ public class BpmReceivedProvider extends GenericProvider implements IBpmReceived
 	
 	@ApiOperation(value = "个人中心-待办事务-用户类型", notes = "个人中心-待办事务-用户类型")
 	@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;
 	}