Commit 231628a5 by jianan

新单跟进9

parent 8487ab50
......@@ -468,15 +468,15 @@ public class ApiPolicyFollowController {
// }
/**
* 分页获取新单跟进列表(VO)
* 分页获取新单跟进列表
*
* @param policyFollowQueryRequest
* @param request
* @return
*/
@PostMapping("/list/page/vo")
@PostMapping("/list/page")
@Operation(summary = "分页获取新单跟进列表")
public Result<Page<PolicyFollowVO>> listPolicyFollowByPage(@RequestBody PolicyFollowQueryRequest policyFollowQueryRequest,
public Result<Page<PolicyFollow>> listPolicyFollowByPage(@RequestBody PolicyFollowQueryRequest policyFollowQueryRequest,
HttpServletRequest request) {
long current = policyFollowQueryRequest.getPageNo();
long size = policyFollowQueryRequest.getPageSize();
......@@ -485,7 +485,7 @@ public class ApiPolicyFollowController {
Page<PolicyFollow> policyFollowPage = policyFollowService.page(new Page<>(current, size),
policyFollowService.getQueryWrapper(policyFollowQueryRequest));
// 获取封装类
return Result.success(policyFollowService.getPolicyFollowVOPage(policyFollowPage));
return Result.success(policyFollowPage);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment