|
@@ -107,14 +107,6 @@ public class WebAiController {
|
|
|
pageReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
|
|
pageReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
|
|
|
pageReqVO.setStatus(CommonStatusEnum.ENABLE.getStatus());
|
|
pageReqVO.setStatus(CommonStatusEnum.ENABLE.getStatus());
|
|
|
PageResult<AiChatRoleDO> pageResult = chatRoleService.getChatRoleMyPage(pageReqVO, getLoginUserId());
|
|
PageResult<AiChatRoleDO> pageResult = chatRoleService.getChatRoleMyPage(pageReqVO, getLoginUserId());
|
|
|
-
|
|
|
|
|
- pageReqVO.setCategory("全部");
|
|
|
|
|
- PageResult<AiChatRoleDO> pageResultAll = chatRoleService.getChatRoleMyPage(pageReqVO, getLoginUserId());
|
|
|
|
|
- List<AiChatRoleDO> list = pageResult.getList();
|
|
|
|
|
- list.addAll(pageResultAll.getList());
|
|
|
|
|
- pageResult.setList(list);
|
|
|
|
|
- pageResult.setTotal(pageResult.getTotal() + pageResultAll.getTotal());
|
|
|
|
|
-
|
|
|
|
|
return success(BeanUtils.toBean(pageResult, WebAiChatRoleVO.class));
|
|
return success(BeanUtils.toBean(pageResult, WebAiChatRoleVO.class));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -337,4 +329,7 @@ public class WebAiController {
|
|
|
}
|
|
}
|
|
|
return success(BeanUtils.toBean(mapGame, MapGameRespVO.class));
|
|
return success(BeanUtils.toBean(mapGame, MapGameRespVO.class));
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|