1. 中铝e办组织机构人员同步联调接口
2. 设置默认文件预览水印为人员加日期
(cherry picked from commit 07c9ead358)
This commit is contained in:
@@ -44,7 +44,6 @@ public class DeptSaveReqVO {
|
||||
private String email;
|
||||
|
||||
@Schema(description = "状态,见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
@NotNull(message = "状态不能为空")
|
||||
@InEnum(value = CommonStatusEnum.class, message = "修改状态必须是 {value}")
|
||||
private Integer status;
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.sync.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author chenbowen
|
||||
*/
|
||||
@Data
|
||||
public class SyncBaseResponseVO {
|
||||
private String bimRequestId;
|
||||
private String resultCode;
|
||||
private String message;
|
||||
|
||||
public SyncBaseResponseVO() {}
|
||||
public SyncBaseResponseVO(String bimRequestId, String resultCode, String message) {
|
||||
this.bimRequestId = bimRequestId;
|
||||
this.resultCode = resultCode;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.sync.vo.org;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Schema(description = "对外接口 - 机构创建 请求 VO")
|
||||
@Data
|
||||
public class OrgCreateRequestVO {
|
||||
@Schema(description = "用户名", required = true)
|
||||
private String bimRemoteUser;
|
||||
@Schema(description = "密码", required = true)
|
||||
private String bimRemotePwd;
|
||||
@Schema(description = "请求ID", required = true)
|
||||
private String bimRequestId;
|
||||
@Schema(description = "机构 名称", required = true)
|
||||
private String name;
|
||||
@Schema(description = "机构 父Id", required = true)
|
||||
private Long parentId;
|
||||
@Schema(description = "机构 负责人Id")
|
||||
private Long leaderUserId;
|
||||
@Schema(description = "机构 电话")
|
||||
private String phone;
|
||||
@Schema(description = "机构 邮件")
|
||||
private String email;
|
||||
@Schema(description = "机构 状态", required = true)
|
||||
private Integer status;
|
||||
@Schema(description = "机构 是否公司")
|
||||
private Boolean isCompany;
|
||||
@Schema(description = "机构 是否集团")
|
||||
private Boolean isGroup;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.sync.vo.org;
|
||||
|
||||
import cn.iocoder.yudao.module.system.controller.admin.sync.vo.SyncBaseResponseVO;
|
||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 对外接口机构创建响应 VO
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "对外接口机构创建响应 VO")
|
||||
@JsonPropertyOrder({"bimRequestId", "uid"})
|
||||
public class OrgCreateResponseVO extends SyncBaseResponseVO {
|
||||
@Schema(description = "请求ID", required = true)
|
||||
private String bimRequestId;
|
||||
|
||||
@Schema(description = "机构ID", required = true)
|
||||
private String uid;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.sync.vo.org;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Schema(description = "对外接口 - 机构删除 请求 VO")
|
||||
@Data
|
||||
public class OrgDeleteRequestVO {
|
||||
@Schema(description = "用户名", required = true)
|
||||
private String bimRemoteUser;
|
||||
@Schema(description = "密码", required = true)
|
||||
private String bimRemotePwd;
|
||||
@Schema(description = "请求 ID", required = true)
|
||||
private String bimRequestId;
|
||||
@Schema(description = "组织 ID", required = true)
|
||||
private Long bimOrgId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.sync.vo.org;
|
||||
|
||||
import cn.iocoder.yudao.module.system.controller.admin.sync.vo.SyncBaseResponseVO;
|
||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 对外接口机构删除响应 VO
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "对外接口机构删除响应 VO")
|
||||
@JsonPropertyOrder({"bimRequestId", "resultCode", "message"})
|
||||
public class OrgDeleteResponseVO extends SyncBaseResponseVO {
|
||||
@Schema(description = "请求ID", required = true)
|
||||
private String bimRequestId;
|
||||
|
||||
@Schema(description = "结果编码", required = true)
|
||||
private String resultCode;
|
||||
|
||||
@Schema(description = "描述信息", required = true)
|
||||
private String message;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.sync.vo.org;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author chenbowen
|
||||
*/
|
||||
@Schema(description = "对外接口 - 根据 ID 查询机构 请求 VO")
|
||||
@Data
|
||||
public class OrgGetRequestVO {
|
||||
@Schema(description = "用户名", required = true)
|
||||
private String bimRemoteUser;
|
||||
@Schema(description = "密码", required = true)
|
||||
private String bimRemotePwd;
|
||||
@Schema(description = "请求 ID", required = true)
|
||||
private String bimRequestId;
|
||||
@Schema(description = "组织 UID", required = true)
|
||||
private String bimOrgId;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.sync.vo.org;
|
||||
|
||||
import cn.iocoder.yudao.module.system.controller.admin.sync.vo.SyncBaseResponseVO;
|
||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 对外接口根据 ID 查询机构 响应 VO
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "对外接口根据 ID 查询机构 响应 VO")
|
||||
@JsonPropertyOrder({"bimRequestId", "resultCode", "organization", "message"})
|
||||
public class OrgGetResponseVO extends SyncBaseResponseVO {
|
||||
@Schema(description = "请求ID", required = true)
|
||||
private String bimRequestId;
|
||||
|
||||
@Schema(description = "结果编码", required = true)
|
||||
private String resultCode;
|
||||
|
||||
@Schema(description = "机构信息 Map", required = true)
|
||||
private Map<String, Object> organization;
|
||||
|
||||
@Schema(description = "描述信息", required = true)
|
||||
private String message;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.sync.vo.org;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Schema(description = "对外接口 - 查询所有机构 ID 请求 VO")
|
||||
@Data
|
||||
public class OrgListRequestVO {
|
||||
@Schema(description = "用户名", required = true)
|
||||
private String bimRemoteUser;
|
||||
@Schema(description = "密码", required = true)
|
||||
private String bimRemotePwd;
|
||||
@Schema(description = "请求 ID", required = true)
|
||||
private String bimRequestId;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user