Compare commits

...

8 Commits

Author SHA1 Message Date
ca5dd9aa64 系统管理 2025-08-11 09:18:47 +08:00
38922ac6db 系统管理 2025-08-08 16:43:49 +08:00
172ff729c9 系统管理 2025-08-08 16:39:40 +08:00
ccc300faa4 系统管理-组织机构分页接口 2025-08-08 13:12:02 +08:00
47cd086123 系统管理-组织机构分页接口 2025-08-08 11:45:04 +08:00
75ea429a0a 系统管理-组织机构分页接口 2025-08-08 11:44:37 +08:00
21294369bf 流程审批业务类型枚举 2025-08-08 09:28:14 +08:00
YY
40eb2d80a4 添加品类库供应商入库审批Enum 2025-08-08 09:24:41 +08:00
3 changed files with 31 additions and 4 deletions

View File

@ -44,9 +44,13 @@ public interface SystemClient {
@ApiParam(value = "查询对象数据", required = false) @SpringQueryMap SysUser param
);
@ApiOperation("根据用户ID集合查询所有用户信息")
@PostMapping("/v1/sysuser/getUsersByIds")
BaseResponse<List<SysUser>> getUsersByIds(@RequestBody List<String> ids);
@ApiOperation("根据用户ID查询本单位下所有用户分页数据")
@PostMapping("/v1/sysuser/getPageByUserCompany")
BaseResponse<IPage<SysUser>> getPageByUserCompany(@ApiParam(value = "分页及查询条件", required = true) @RequestBody SysUserVO sysUserVO);
BaseResponse<Page<SysUser>> getPageByUserCompany(@ApiParam(value = "分页及查询条件", required = true) @RequestBody SysUserVO sysUserVO);
// -----------------------供应商用户接口-----------------------
@ApiOperation("供应商注册(自动生成账号并设置统一重置密码)")
@ -57,6 +61,10 @@ public interface SystemClient {
@PostMapping("/v1/supplieruser/update")
BaseResponse<Boolean> update(@ApiParam(value = "供应商用户信息", required = true) @RequestBody SysSupplierUser sysSupplierUser);
@ApiOperation("供应商用户分页查询")
@PostMapping("/v1/supplieruser/getPage")
BaseResponse<Page<SysSupplierUser>> getPage(@RequestBody SysSupplierUser sysSupplierUser);
// -----------------------组织接口-----------------------
@ApiOperation("查询组织信息(当前组织及下级组织列表)")
@GetMapping("/v1/sysorg/queryOrgWithChildren")
@ -74,6 +82,10 @@ public interface SystemClient {
@GetMapping("/v1/sysorg/queryAll")
BaseResponse<List<SysOrgVO>> queryAll(@SpringQueryMap SysOrg sysOrg);
@ApiOperation("查询分页数据")
@PostMapping("/v1/sysorg/getPage")
BaseResponse<Page<SysOrg>> getOrgPage(@ApiParam(value = "对象数据", required = true) @RequestBody SysOrgVO sysOrgVO);
@Configuration
class FeignConfig {
@Value("${check.tokentime.checkpublicKey}")

View File

@ -31,7 +31,12 @@ public class SystemClientFallback implements SystemClient {
}
@Override
public BaseResponse<IPage<SysUser>> getPageByUserCompany(SysUserVO sysUserVO) {
public BaseResponse<List<SysUser>> getUsersByIds(List<String> ids) {
return null;
}
@Override
public BaseResponse<Page<SysUser>> getPageByUserCompany(SysUserVO sysUserVO) {
return null;
}
@ -45,6 +50,11 @@ public class SystemClientFallback implements SystemClient {
return null;
}
@Override
public BaseResponse<Page<SysSupplierUser>> getPage(SysSupplierUser sysSupplierUser) {
return null;
}
@Override
public BaseResponse<List<SysOrg>> getOrgWithChildren(SysOrg sysOrg) {
return null;
@ -64,4 +74,9 @@ public class SystemClientFallback implements SystemClient {
public BaseResponse<List<SysOrgVO>> queryAll(SysOrg sysOrg) {
return null;
}
@Override
public BaseResponse<Page<SysOrg>> getOrgPage(SysOrgVO sysOrgVO) {
return null;
}
}

View File

@ -16,8 +16,8 @@ public enum BusinessTypeEnum {
BLACKLIST_APPROVAL("blacklistApproval", "黑名单审批"),
EXIT_APPROVAL("exitApproval", "退出审批"),
CATEGORY_LIBRARY_APPROVAL("categoryLibraryApproval", "品类库审批"),
EVALUATION_APPROVAL("evaluationApproval", "评价审批"),
ANNUAL_REVIEW_APPROVAL("annualReviewApproval", "年审审批");
CATEGORY_LIBRARY_SUPPLIER_APPROVAL("categoryLibrarySupplierApproval","品类库供应商入库审批"),
EVALUATION_APPROVAL("evaluationApproval", "评价审批");
private final String key;
private final String desc;