系统管理-组织机构分页接口
This commit is contained in:
@ -57,6 +57,10 @@ public interface SystemClient {
|
|||||||
@PostMapping("/v1/supplieruser/update")
|
@PostMapping("/v1/supplieruser/update")
|
||||||
BaseResponse<Boolean> update(@ApiParam(value = "供应商用户信息", required = true) @RequestBody SysSupplierUser sysSupplierUser);
|
BaseResponse<Boolean> update(@ApiParam(value = "供应商用户信息", required = true) @RequestBody SysSupplierUser sysSupplierUser);
|
||||||
|
|
||||||
|
@ApiOperation("供应商用户分页查询")
|
||||||
|
@PostMapping("/v1/supplieruser/getPage")
|
||||||
|
BaseResponse<IPage<SysSupplierUser>> getPage(@RequestBody SysSupplierUser sysSupplierUser);
|
||||||
|
|
||||||
// -----------------------组织接口-----------------------
|
// -----------------------组织接口-----------------------
|
||||||
@ApiOperation("查询组织信息(当前组织及下级组织列表)")
|
@ApiOperation("查询组织信息(当前组织及下级组织列表)")
|
||||||
@GetMapping("/v1/sysorg/queryOrgWithChildren")
|
@GetMapping("/v1/sysorg/queryOrgWithChildren")
|
||||||
@ -74,6 +78,10 @@ public interface SystemClient {
|
|||||||
@GetMapping("/v1/sysorg/queryAll")
|
@GetMapping("/v1/sysorg/queryAll")
|
||||||
BaseResponse<List<SysOrgVO>> queryAll(@SpringQueryMap SysOrg sysOrg);
|
BaseResponse<List<SysOrgVO>> queryAll(@SpringQueryMap SysOrg sysOrg);
|
||||||
|
|
||||||
|
@ApiOperation("查询分页数据")
|
||||||
|
@PostMapping("/getPage")
|
||||||
|
BaseResponse<IPage<SysOrg>> getPage(@ApiParam(value = "对象数据", required = true) @RequestBody SysOrgVO sysOrgVO);
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
class FeignConfig {
|
class FeignConfig {
|
||||||
@Value("${check.tokentime.checkpublicKey}")
|
@Value("${check.tokentime.checkpublicKey}")
|
||||||
|
@ -45,6 +45,11 @@ public class SystemClientFallback implements SystemClient {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BaseResponse<IPage<SysSupplierUser>> getPage(SysSupplierUser sysSupplierUser) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BaseResponse<List<SysOrg>> getOrgWithChildren(SysOrg sysOrg) {
|
public BaseResponse<List<SysOrg>> getOrgWithChildren(SysOrg sysOrg) {
|
||||||
return null;
|
return null;
|
||||||
@ -64,4 +69,9 @@ public class SystemClientFallback implements SystemClient {
|
|||||||
public BaseResponse<List<SysOrgVO>> queryAll(SysOrg sysOrg) {
|
public BaseResponse<List<SysOrgVO>> queryAll(SysOrg sysOrg) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BaseResponse<IPage<SysOrg>> getPage(SysOrgVO sysOrgVO) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user