接口联调优化

This commit is contained in:
mashuai 2024-12-02 17:13:30 +08:00
parent 39b2bc8eff
commit 0e4e978020
1 changed files with 2 additions and 3 deletions

View File

@ -63,10 +63,9 @@ public class MaLeaseInfoController extends BaseController {
@ApiOperation(value = "查询出租方需求列表")
@GetMapping("/rentList")
public AjaxResult rentList(MaLeaseDto dto) {
startPage();
List<MaLeaseVo> list = leaseInfoService.rentList(dto);
Integer pageIndex = Convert.toInt(dto.getPageNum(), 1);
Integer pageSize = Convert.toInt(dto.getPageSize(), 10);
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, list));
return AjaxResult.success(getDataTable(list));
}
/**