Browse Source

add fields

sanlin.shi 4 weeks ago
parent
commit
2013dd4106

+ 9 - 0
sql.md

@@ -860,3 +860,12 @@ ADD COLUMN `microphone_type` int DEFAULT NULL COMMENT '麦克风类型Microphone
 alter TABLE hh_local_device add `valid_time_switch` tinyint(1) DEFAULT '0' COMMENT '是否启用有效时间 默认-false';
 
 alter TABLE hh_local_device_template add `valid_time_switch` tinyint(1) DEFAULT '0' COMMENT '是否启用有效时间 默认-false';
+
+ALTER TABLE `hanghui_outapi_platform`.`provisional_identity_proof_device` 
+ADD COLUMN `official_seal_switch` tinyint(1) NULL COMMENT '是否加盖公章 false-关闭 true-开启 默认false' AFTER `expiration_date`,
+ADD COLUMN `official_seal_url` varchar(500) NULL COMMENT '公章图片' AFTER `official_seal_switch`;
+ALTER TABLE `hanghui_outapi_platform`.`provisional_identity_proof_template` 
+ADD COLUMN `official_seal_switch` tinyint(1) NULL COMMENT '是否加盖公章 false-关闭 true-开启 默认false' AFTER `expiration_date`,
+ADD COLUMN `official_seal_url` varchar(500) NULL COMMENT '公章图片' AFTER `official_seal_switch`;
+
+

+ 8 - 1
src/main/java/cn/hanghui/outapi/platform/tenant/entity/dto/proof/ProvisionalIdentityProofDeviceDto.java

@@ -190,7 +190,7 @@ public class ProvisionalIdentityProofDeviceDto implements Serializable {
     @ApiModelProperty(value = "凭证有效期")
     private Integer validTime;
     /**
-     *  20240815产品说不是必填项 以后有商务法务问题开发概不负责
+     * 20240815产品说不是必填项 以后有商务法务问题开发概不负责
      */
     @ApiModelProperty(value = "签发单位")
     private String issuingAuthority;
@@ -198,4 +198,11 @@ public class ProvisionalIdentityProofDeviceDto implements Serializable {
     @ApiModelProperty(value = "到期日期")
     private LocalDate expirationDate;
 
+    @ApiModelProperty(value = "是否加盖公章 false-关闭 true-开启 默认false")
+    private Boolean officialSealSwitch;
+
+    @ApiModelProperty(value = "公章图片")
+    private String officialSealUrl;
+
+
 }

+ 7 - 1
src/main/java/cn/hanghui/outapi/platform/tenant/entity/dto/proof/ProvisionalIdentityProofTemplateDto.java

@@ -186,7 +186,7 @@ public class ProvisionalIdentityProofTemplateDto implements Serializable {
     @ApiModelProperty(value = "凭证有效期")
     private Integer validTime;
     /**
-     *  20240815产品说不是必填项 以后有商务法务问题开发概不负责
+     * 20240815产品说不是必填项 以后有商务法务问题开发概不负责
      */
     @ApiModelProperty(value = "签发单位")
     private String issuingAuthority;
@@ -194,5 +194,11 @@ public class ProvisionalIdentityProofTemplateDto implements Serializable {
     @ApiModelProperty(value = "到期日期")
     private LocalDate expirationDate;
 
+    @ApiModelProperty(value = "是否加盖公章 false-关闭 true-开启 默认false")
+    private Boolean officialSealSwitch;
+
+    @ApiModelProperty(value = "公章图片")
+    private String officialSealUrl;
+
 
 }

+ 7 - 1
src/main/java/cn/hanghui/outapi/platform/tenant/entity/po/ProvisionalIdentityProofDevice.java

@@ -236,7 +236,7 @@ public class ProvisionalIdentityProofDevice extends Base {
     @ApiModelProperty(value = "凭证有效期")
     private Integer validTime;
     /**
-     *  20240815产品说不是必填项 以后有商务法务问题开发概不负责
+     * 20240815产品说不是必填项 以后有商务法务问题开发概不负责
      */
     @ApiModelProperty(value = "签发单位")
     private String issuingAuthority;
@@ -244,4 +244,10 @@ public class ProvisionalIdentityProofDevice extends Base {
     @ApiModelProperty(value = "到期日期")
     private LocalDate expirationDate;
 
+    @ApiModelProperty(value = "是否加盖公章 false-关闭 true-开启 默认false")
+    private Boolean officialSealSwitch;
+
+    @ApiModelProperty(value = "公章图片")
+    private String officialSealUrl;
+
 }

+ 1 - 1
src/main/java/cn/hanghui/outapi/platform/tenant/entity/po/ProvisionalIdentityProofSpecialCode.java

@@ -1,7 +1,6 @@
 package cn.hanghui.outapi.platform.tenant.entity.po;
 
 import cn.hanghui.outapi.platform.common.entity.po.Base;
-import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
@@ -46,4 +45,5 @@ public class ProvisionalIdentityProofSpecialCode extends Base {
     @ApiModelProperty(value = "签发单位")
     private String issuingAuthority;
 
+
 }

+ 7 - 1
src/main/java/cn/hanghui/outapi/platform/tenant/entity/po/ProvisionalIdentityProofTemplate.java

@@ -225,11 +225,17 @@ public class ProvisionalIdentityProofTemplate extends Base {
     @ApiModelProperty(value = "凭证有效期")
     private Integer validTime;
     /**
-     *  20240815产品说不是必填项 以后有商务法务问题开发概不负责
+     * 20240815产品说不是必填项 以后有商务法务问题开发概不负责
      */
     @ApiModelProperty(value = "签发单位")
     private String issuingAuthority;
 
     @ApiModelProperty(value = "到期日期")
     private LocalDate expirationDate;
+
+    @ApiModelProperty(value = "是否加盖公章 false-关闭 true-开启 默认false")
+    private Boolean officialSealSwitch;
+
+    @ApiModelProperty(value = "公章图片")
+    private String officialSealUrl;
 }