认证-参数项收集-附件模板字段名修改
This commit is contained in:
@@ -36,3 +36,13 @@ ALTER TABLE `laws_weilai`.`ocr_record`
|
||||
---拆分记录表 添加字段
|
||||
ALTER TABLE `laws_weilai`.`sar_file_split_info`
|
||||
ADD COLUMN `title_en` varchar(255) NULL COMMENT '英文标题' AFTER `connect_id`;
|
||||
|
||||
---2022-06-07
|
||||
ALTER TABLE `laws_weilai`.`params_collect_manifest`
|
||||
CHANGE COLUMN `file_template` `file_template_connect_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附件模板' AFTER `control_verify`;
|
||||
|
||||
ALTER TABLE `laws_weilai`.`params_collect_manifest_history`
|
||||
CHANGE COLUMN `file_template` `file_template_connect_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附件模板' AFTER `control_verify`;
|
||||
|
||||
ALTER TABLE `laws_weilai`.`params_report_detail`
|
||||
CHANGE COLUMN `file_template` `file_template_connect_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附件模板' AFTER `control_verify`;
|
||||
+1
-1
@@ -104,7 +104,7 @@ public class ParamsCollectManifestBaseEO implements Serializable {
|
||||
/**附件模板*/
|
||||
@Excel(name = "附件模板", width = 15)
|
||||
@ApiModelProperty(value = "附件模板")
|
||||
private String fileTemplate;
|
||||
private String fileTemplateConnectId;
|
||||
|
||||
/**参数模板id*/
|
||||
@Excel(name = "参数模板id", width = 15)
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
<result column="control_type" property="controlType" />
|
||||
<result column="control_values" property="controlValues" />
|
||||
<result column="control_verify" property="controlVerify" />
|
||||
<result column="file_template" property="fileTemplate" />
|
||||
<result column="file_template_connect_id" property="fileTemplateConnectId" />
|
||||
<result column="params_template_id" property="paramsTemplateId" />
|
||||
<result column="state" property="state" />
|
||||
<result column="sdt" property="sdt" />
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
<result column="control_type" property="controlType" />
|
||||
<result column="control_values" property="controlValues" />
|
||||
<result column="control_verify" property="controlVerify" />
|
||||
<result column="file_template" property="fileTemplate" />
|
||||
<result column="file_template_connect_id" property="fileTemplateConnectId" />
|
||||
<result column="params_template_id" property="paramsTemplateId" />
|
||||
<result column="state" property="state" />
|
||||
<result column="duty_territory" property="dutyTerritory" />
|
||||
|
||||
+2
-2
@@ -329,8 +329,8 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
List<ParamsConfigDataVO> paramsConfigDataVOList = new ArrayList<>();
|
||||
String templateId = null;
|
||||
String templateName = null;
|
||||
if (StringUtils.isNotEmpty(paramsCollectManifestEO.getFileTemplate())) {
|
||||
List<OSSFile> ossFiles = ossFileService.getFileInfosByConnectId(paramsCollectManifestEO.getFileTemplate());
|
||||
if (StringUtils.isNotEmpty(paramsCollectManifestEO.getFileTemplateConnectId())) {
|
||||
List<OSSFile> ossFiles = ossFileService.getFileInfosByConnectId(paramsCollectManifestEO.getFileTemplateConnectId());
|
||||
|
||||
if (CollectionUtil.isNotEmpty(ossFiles)) {
|
||||
templateId = ossFiles.get(0).getId();
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
<result column="control_type" property="controlType" />
|
||||
<result column="control_values" property="controlValues" />
|
||||
<result column="control_verify" property="controlVerify" />
|
||||
<result column="file_template" property="fileTemplate" />
|
||||
<result column="file_template_connect_id" property="fileTemplateConnectId" />
|
||||
<result column="params_template_id" property="paramsTemplateId" />
|
||||
<result column="state" property="state" />
|
||||
<result column="sdt" property="sdt" />
|
||||
|
||||
Reference in New Issue
Block a user