企业国别查询修复
This commit is contained in:
+2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user