add 信发系统 营帐通

This commit is contained in:
shuo.wang
2024-10-12 11:12:41 +08:00
parent df5fefac56
commit f897421e8c
18 changed files with 217 additions and 20 deletions

View File

@@ -136,6 +136,18 @@ public class BuildInformationDO {
@Column(name = "settler_bank_name")
private String settlerBankName;
//非法人时候需要:授权书
@Column(name = "authorization_url")
private String authorizationUrl;
//非法人时候需要:商户关系证明
@Column(name = "relationship_prove")
private String relationshipProve;
//公司结算需要:开户许可证
@Column(name = "account_opening_permit")
private String accountOpeningPermit;
/**
* 创建时间
*/

View File

@@ -28,7 +28,7 @@ public class PosAndOrderInfoDO {
private Long shopId;
/**
* 1-pos 2-订货系统
* 1-pos 2-订货系统3-信发系统 4-营帐通
*/
@Column(name = "type")
private Integer type;
@@ -40,7 +40,7 @@ public class PosAndOrderInfoDO {
private String account;
/**
* 密码
*密码 type为 3 时候,存授权
*/
@Column(name = "password")
private String password;

View File

@@ -109,6 +109,18 @@ public class BuildInformationRequest {
@ApiModelProperty("结算开户银行支行")
private String settlerBankName;
@ApiModelProperty("非法人时候需要:授权书")
@Length(max =1024, message = "授权书 长度不能超过1024")
private String authorizationUrl;
@Length(max =1024, message = "商户关系证明 长度不能超过1024")
@ApiModelProperty("非法人时候需要:商户关系证明")
private String relationshipProve;
@Length(max =1024, message = "开户许可证 长度不能超过1024")
@ApiModelProperty("公司结算需要:开户许可证")
private String accountOpeningPermit;
public BuildInformationDO toDO(){
BuildInformationDO buildInformationDO = new BuildInformationDO();
buildInformationDO.setShopId(this.shopId);
@@ -130,6 +142,9 @@ public class BuildInformationRequest {
buildInformationDO.setSettlerBankNumber(this.settlerBankNumber);
buildInformationDO.setSettlerBankMobile(this.settlerBankMobile);
buildInformationDO.setSettlerBankName(this.settlerBankName);
buildInformationDO.setAuthorizationUrl(this.authorizationUrl);
buildInformationDO.setRelationshipProve(this.relationshipProve);
buildInformationDO.setAccountOpeningPermit(this.accountOpeningPermit);
return buildInformationDO;
}

View File

@@ -19,7 +19,7 @@ public class PostAndOrderRequest {
@NotNull
private Long shopId;
@ApiModelProperty(value = "1-pos 2-订货系统",hidden = true)
@ApiModelProperty(value = "1-pos 2-订货系统3-信发系统 4-营帐通",hidden = true)
private Integer type;
@NotBlank
@ApiModelProperty("账号")

View File

@@ -92,5 +92,14 @@ public class BuildInformationResponse {
@ApiModelProperty("结算开户银行支行")
private String settlerBankName;
@ApiModelProperty("非法人时候需要:授权书")
private String authorizationUrl;
@ApiModelProperty("非法人时候需要:商户关系证明")
private String relationshipProve;
@ApiModelProperty("公司结算需要:开户许可证")
private String accountOpeningPermit;
}

View File

@@ -20,7 +20,7 @@ public class PosAndOrderResponse {
private Long shopId;
@ApiModelProperty("1-pos 2-订货系统',")
@ApiModelProperty("1-pos 2-订货系统3-信发系统 4-营帐通")
private Integer type;
@ApiModelProperty("账号")