diff --git a/src/main/java/com/xkrs/model/entity/BusinessEntity.java b/src/main/java/com/xkrs/model/entity/BusinessEntity.java index 2f289e2..d564af0 100644 --- a/src/main/java/com/xkrs/model/entity/BusinessEntity.java +++ b/src/main/java/com/xkrs/model/entity/BusinessEntity.java @@ -84,6 +84,11 @@ public class BusinessEntity { */ private Integer businessId; + /** + * 合同路径 + */ + private String contractPath; + /** * 商家入驻时间 */ @@ -93,7 +98,7 @@ public class BusinessEntity { public BusinessEntity() { } - public BusinessEntity(Integer id, String businessName, String businessPro, String businessCity, String businessCountry, String businessAddress, String businessPhone, String businessPhoto, String businessLicense, Double businessDiscount, String businessType, String headIdentifier, Integer businessId, String settleInTime) { + public BusinessEntity(Integer id, String businessName, String businessPro, String businessCity, String businessCountry, String businessAddress, String businessPhone, String businessPhoto, String businessLicense, Double businessDiscount, String businessType, String headIdentifier, Integer businessId, String contractPath, String settleInTime) { this.id = id; this.businessName = businessName; this.businessPro = businessPro; @@ -107,6 +112,7 @@ public class BusinessEntity { this.businessType = businessType; this.headIdentifier = headIdentifier; this.businessId = businessId; + this.contractPath = contractPath; this.settleInTime = settleInTime; } @@ -238,6 +244,7 @@ public class BusinessEntity { ", businessType='" + businessType + '\'' + ", headIdentifier='" + headIdentifier + '\'' + ", businessId=" + businessId + + ", contractPath='" + contractPath + '\'' + ", settleInTime='" + settleInTime + '\'' + '}'; } diff --git a/src/main/java/com/xkrs/model/entity/ProductEntity.java b/src/main/java/com/xkrs/model/entity/ProductEntity.java index fd7b736..6ddf923 100644 --- a/src/main/java/com/xkrs/model/entity/ProductEntity.java +++ b/src/main/java/com/xkrs/model/entity/ProductEntity.java @@ -97,6 +97,11 @@ public class ProductEntity { @Column(length = 65, columnDefinition = "varchar(65)") private String productTime; + /** + * 电子协议路径 + */ + private String productContractPath; + /** * 提交时间 */ @@ -106,7 +111,7 @@ public class ProductEntity { public ProductEntity() { } - public ProductEntity(Integer id, String productName, String productPro, String productCity, String productCounty, String productDescription, Integer productCategories, BigDecimal productPrice, String shelfType, String reviewType, Integer businessId, String userIdentity, String productCover, String productContent, String productTime, String submitTime) { + public ProductEntity(Integer id, String productName, String productPro, String productCity, String productCounty, String productDescription, Integer productCategories, BigDecimal productPrice, String shelfType, String reviewType, Integer businessId, String userIdentity, String productCover, String productContent, String productTime, String productContractPath, String submitTime) { this.id = id; this.productName = productName; this.productPro = productPro; @@ -122,6 +127,7 @@ public class ProductEntity { this.productCover = productCover; this.productContent = productContent; this.productTime = productTime; + this.productContractPath = productContractPath; this.submitTime = submitTime; } @@ -271,6 +277,7 @@ public class ProductEntity { ", productCover='" + productCover + '\'' + ", productContent='" + productContent + '\'' + ", productTime='" + productTime + '\'' + + ", productContractPath='" + productContractPath + '\'' + ", submitTime='" + submitTime + '\'' + '}'; } diff --git a/src/main/java/com/xkrs/utils/ElectronicContractUtil.java b/src/main/java/com/xkrs/utils/ElectronicContractUtil.java index 054ab52..3ec5eac 100644 --- a/src/main/java/com/xkrs/utils/ElectronicContractUtil.java +++ b/src/main/java/com/xkrs/utils/ElectronicContractUtil.java @@ -104,20 +104,31 @@ public class ElectronicContractUtil { // 表单数据 HashMap data = new HashMap<>(); + // 联系人 data.put("contacts","宋"); + // 电话 data.put("telephone","15315526196"); + // 乙方 data.put("name","星科瑞升"); + // 折扣 data.put("discount","2"); + // 合作期限开始时间 月 data.put("monthone","01"); + // 日 data.put("dayone","11"); + + // 结束时间 年 data.put("year","3"); - + // 结束时间月 data.put("monthtwo","01"); - + // 结束时间日 data.put("daytwo","23"); + + // 签订日期 月 data.put("monththree","03"); + // 日 data.put("daythree","01"); // 图片数据