Commit 324bdafb by 崔彦峰

modify: 增加签署人类型 企业委托 类型逻辑。

1 parent f1257f63
......@@ -200,7 +200,7 @@ public class ConfirmCarDeliveryTransferDTO extends ContractBaseDTO {
*/
private ConfirmCarDeliveryRequest confirmCarDeliveryRequest;
@Schema(description = "签署人类型:0:企业-个人 1:企业-企业")
@Schema(description = "签署人类型:0:个人 1:企业委托 2:企业")
private Integer signerType;
}
\ No newline at end of file
......@@ -130,8 +130,14 @@ public class SaleContractDTO extends ContractBaseDTO implements Serializable {
@Schema(description = "三方/委托交易凭证")
private String thirdPartyTransactionVoucher;
@Schema(description = "签署人类型:0:企业-个人 1:企业-企业")
@Schema(description = "签署人类型:0:个人 1:企业委托 2:企业")
private Integer signerType;
@Schema(description = "经办人")
private String handler;
@Schema(description = "企业营业执照号")
private String orgLicenseNumber;
@Schema(description = "企业营业执照图片链接")
private String orgLicenseUrl;
}
......@@ -41,7 +41,7 @@ public class SupplementaryClauseTransferDTO extends ContractBaseDTO {
@Schema(description = "二手车合同签署时间")
private String signedDate;
@Schema(description = "签署人类型:0:企业-个人 1:企业-企业")
@Schema(description = "签署人类型:0:个人 1:企业委托 2:企业")
private Integer signerType;
......
......@@ -18,7 +18,7 @@ public class InitiateESignContractDTO implements Serializable {
// 合同编号
private String contractNo;
// 签署人类型:0:企业-个人 1:企业-企业
// 签署人类型:0:个人 1:企业委托 2:企业
private Integer signerType;
}
......@@ -107,6 +107,6 @@ public class EvalElectronicContractPageReq {
private List<Integer> ids;
@Schema(description = "签署人类型:0:企业-个人 1:企业-企业")
@Schema(description = "签署人类型:0:个人 1:企业委托 2:企业")
private Integer signerType;
}
......@@ -174,7 +174,7 @@ public class EvalElectronicContract implements Serializable {
private String deletedFlag;
/**
* 签署人类型:0:企业-个人 1:企业-企业
* 签署人类型:0:个人 1:企业委托 2:企业
*/
@TableField(value = "signer_type")
private Integer signerType;
......
......@@ -4,8 +4,10 @@ package com.gsc4cloud.gsc.vpc.api.enums;
* 电子合同签署人类型枚举
*/
public enum ElectronicContractSignerTypeEnum implements BaseEnum<Integer, String> {
ORG_PERSONAL(0, "企业-个人"),
ORG_ORG(1, "企业-企业");
ORG_PERSONAL(0, "个人"),
ORG_COMMISSIONED(1, "企业委托"),
ORG_ORG(2, "企业")
;
private final Integer code;
private final String desc;
......
......@@ -47,8 +47,8 @@ public class SignSaleContractRequest {
private String partAName;
@Schema(description = "身份证号(甲方)")
@NotEmpty(message = "身份证号不能为空")
// @Pattern(regexp = ID_CARD_REGEX, message = "签约保管人身份证号格式不正确")
// @NotEmpty(message = "身份证号不能为空")
@Pattern(regexp = ID_CARD_REGEX, message = "签约保管人身份证号格式不正确")
private String idCard;
@Schema(description = "车主身份证正面链接")
......@@ -143,12 +143,18 @@ public class SignSaleContractRequest {
@Schema(description = "三方/委托交易凭证")
private String thirdPartyTransactionVoucher;
@Schema(description = "签署人类型:0:企业-个人 1:企业-企业")
@Schema(description = "签署人类型:0:个人 1:企业委托 2:企业")
@NotNull(message = "签署人类型不能为空")
private Integer signerType;
@Schema(description = "经办人")
private String handler;
@Schema(description = "企业营业执照号")
private String orgLicenseNumber;
@Schema(description = "企业营业执照图片链接")
private String orgLicenseUrl;
}
......@@ -25,6 +25,6 @@ public class GenerateCarESignContractRequest implements Serializable {
@Schema(description = "合同编号")
private String contractNo;
@Schema(description = "签署人类型:0:企业-个人 1:企业-企业")
@Schema(description = "签署人类型:0:个人 1:企业委托 2:企业")
private Integer signerType;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!