企业国别查询修复

This commit is contained in:
zhaoqing
2026-05-15 19:29:14 +08:00
parent 64f68657e6
commit f4e1a1b316
3 changed files with 21 additions and 12 deletions
@@ -47,6 +47,8 @@ public class BusinessPartnerDTO {
@ApiModelProperty(value = "页码")
private Integer pageNum = 1;
@ApiModelProperty(value = "页码")
private Integer pageNo = 1;
@ApiModelProperty(value = "每页数量")
private Integer pageSize = 10;
@@ -1,6 +1,7 @@
package com.mhd.oms.interfaces.facade.erpCountry;
import com.github.pagehelper.PageHelper;
import com.mhd.common.core.web.controller.BaseController;
import com.mhd.common.core.web.domain.AjaxResult;
import com.mhd.common.core.web.page.TableDataInfo;
@@ -25,8 +26,10 @@ public class ErpCountryApi extends BaseController{
@ApiOperation("查询企业国别列表")
@GetMapping("/list")
public TableDataInfo list(ErpCountryDTO erpCountryDTO){
startPage();
public TableDataInfo list(ErpCountryDTO erpCountryDTO,
@RequestParam(value = "pageNo", required = false, defaultValue = "1") Integer pageNo,
@RequestParam(value = "pageSize", required = false, defaultValue = "10") Integer pageSize){
PageHelper.startPage(pageNo, pageSize);
return erpCountryApplicationService.queryList(erpCountryDTO);
}