diff --git a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/client/SystemClient.java b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/client/SystemClient.java index deb4548..3480824 100644 --- a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/client/SystemClient.java +++ b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/client/SystemClient.java @@ -57,6 +57,10 @@ public interface SystemClient { @PostMapping("/v1/supplieruser/update") BaseResponse update(@ApiParam(value = "供应商用户信息", required = true) @RequestBody SysSupplierUser sysSupplierUser); + @ApiOperation("供应商用户分页查询") + @PostMapping("/v1/supplieruser/getPage") + BaseResponse> getPage(@RequestBody SysSupplierUser sysSupplierUser); + // -----------------------组织接口----------------------- @ApiOperation("查询组织信息(当前组织及下级组织列表)") @GetMapping("/v1/sysorg/queryOrgWithChildren") @@ -74,6 +78,10 @@ public interface SystemClient { @GetMapping("/v1/sysorg/queryAll") BaseResponse> queryAll(@SpringQueryMap SysOrg sysOrg); + @ApiOperation("查询分页数据") + @PostMapping("/getPage") + BaseResponse> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody SysOrgVO sysOrgVO); + @Configuration class FeignConfig { @Value("${check.tokentime.checkpublicKey}") diff --git a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/fallback/SystemClientFallback.java b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/fallback/SystemClientFallback.java index f0b0750..a5a14ab 100644 --- a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/fallback/SystemClientFallback.java +++ b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/base/fallback/SystemClientFallback.java @@ -45,6 +45,11 @@ public class SystemClientFallback implements SystemClient { return null; } + @Override + public BaseResponse> getPage(SysSupplierUser sysSupplierUser) { + return null; + } + @Override public BaseResponse> getOrgWithChildren(SysOrg sysOrg) { return null; @@ -64,4 +69,9 @@ public class SystemClientFallback implements SystemClient { public BaseResponse> queryAll(SysOrg sysOrg) { return null; } + + @Override + public BaseResponse> getPage(SysOrgVO sysOrgVO) { + return null; + } } \ No newline at end of file