|
@@ -1,6 +1,6 @@
|
|
|
package com.jzg.quotation.summary.controller;
|
|
package com.jzg.quotation.summary.controller;
|
|
|
|
|
|
|
|
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.jzg.commons.core.page.HttpResult;
|
|
import com.jzg.commons.core.page.HttpResult;
|
|
|
import com.jzg.quotation.summary.client.LocalLivingClient;
|
|
import com.jzg.quotation.summary.client.LocalLivingClient;
|
|
|
import com.jzg.quotation.summary.entity.Result;
|
|
import com.jzg.quotation.summary.entity.Result;
|
|
@@ -74,11 +74,11 @@ public class RightsGrantController {
|
|
|
|
|
|
|
|
@Operation(summary = "权益套餐-分页查询")
|
|
@Operation(summary = "权益套餐-分页查询")
|
|
|
@PostMapping(value = "package/list")
|
|
@PostMapping(value = "package/list")
|
|
|
- public HttpResult<Page<ChannelRightsPackageVO>> queryRightsPackagePage(@RequestBody ChannelRightsPackageQueryDTO queryDTO) {
|
|
|
|
|
|
|
+ public HttpResult<IPage<ChannelRightsPackageVO>> queryRightsPackagePage(@RequestBody ChannelRightsPackageQueryDTO queryDTO) {
|
|
|
//调生活服务平台
|
|
//调生活服务平台
|
|
|
- Result<Page<ChannelRightsPackageVO>> result = localLivingClient.queryRightsPackagePage(queryDTO);
|
|
|
|
|
|
|
+ Result<IPage<ChannelRightsPackageVO>> result = localLivingClient.queryRightsPackagePage(queryDTO);
|
|
|
//把生活服务平台查询到的数据封装成返回jzg前端HttpResult对象
|
|
//把生活服务平台查询到的数据封装成返回jzg前端HttpResult对象
|
|
|
- HttpResult<Page<ChannelRightsPackageVO>> rightsPackageResult = new HttpResult<>();
|
|
|
|
|
|
|
+ HttpResult<IPage<ChannelRightsPackageVO>> rightsPackageResult = new HttpResult<>();
|
|
|
|
|
|
|
|
rightsPackageResult.setData(result.getResult());
|
|
rightsPackageResult.setData(result.getResult());
|
|
|
rightsPackageResult.setCode(result.getCode());
|
|
rightsPackageResult.setCode(result.getCode());
|
|
@@ -107,11 +107,11 @@ public class RightsGrantController {
|
|
|
*/
|
|
*/
|
|
|
@Operation(summary = "权益券-分页查询")
|
|
@Operation(summary = "权益券-分页查询")
|
|
|
@PostMapping(value = "/rights/list")
|
|
@PostMapping(value = "/rights/list")
|
|
|
- public HttpResult<Page<ChannelRightsVO>> queryRightsPage(@RequestBody ChannelRightsQueryDTO queryDTO) {
|
|
|
|
|
|
|
+ public HttpResult<IPage<ChannelRightsVO>> queryRightsPage(@RequestBody ChannelRightsQueryDTO queryDTO) {
|
|
|
//调生活服务平台
|
|
//调生活服务平台
|
|
|
- Result<Page<ChannelRightsVO>> result = localLivingClient.queryRightsPage(queryDTO);
|
|
|
|
|
|
|
+ Result<IPage<ChannelRightsVO>> result = localLivingClient.queryRightsPage(queryDTO);
|
|
|
//把生活服务平台查询到的数据封装成返回jzg前端HttpResult对象
|
|
//把生活服务平台查询到的数据封装成返回jzg前端HttpResult对象
|
|
|
- HttpResult<Page<ChannelRightsVO>> rightsResult = new HttpResult<>();
|
|
|
|
|
|
|
+ HttpResult<IPage<ChannelRightsVO>> rightsResult = new HttpResult<>();
|
|
|
rightsResult.setData(result.getResult());
|
|
rightsResult.setData(result.getResult());
|
|
|
rightsResult.setCode(result.getCode());
|
|
rightsResult.setCode(result.getCode());
|
|
|
rightsResult.setMsg(result.getMessage());
|
|
rightsResult.setMsg(result.getMessage());
|