feat: 企标更改流程更改级别代号新增数据字典

This commit is contained in:
2024-03-18 14:04:38 +08:00
parent c3839e7b98
commit 5bef80ce76
3 changed files with 17 additions and 1 deletions
+13 -1
View File
@@ -25,4 +25,16 @@ VALUES ('1769564500350857218', 'laws_domestic_standard', 'interpret_document', '
ALTER TABLE `laws_domestic_standard` ALTER TABLE `laws_domestic_standard`
ADD COLUMN `other_files` varchar(1) NULL DEFAULT NULL COMMENT '其他文件' AFTER `is_asms_import`, ADD COLUMN `other_files` varchar(1) NULL DEFAULT NULL COMMENT '其他文件' AFTER `is_asms_import`,
ADD COLUMN `interpret_document` varchar(1) NULL DEFAULT NULL COMMENT '解读文件' AFTER `other_files`, ADD COLUMN `interpret_document` varchar(1) NULL DEFAULT NULL COMMENT '解读文件' AFTER `other_files`,
ADD COLUMN `test_procedures` varchar(1) NULL DEFAULT NULL COMMENT '测试规程' AFTER `interpret_document`; ADD COLUMN `test_procedures` varchar(1) NULL DEFAULT NULL COMMENT '测试规程' AFTER `interpret_document`;
#
INSERT INTO sys_dict (id, dict_name, dict_code, description, del_flag, create_by, create_time, is_tag_dict,
is_read_only)
VALUES ('1769604615294271489', '更改级别代号', 'change_level_code', '', 0, 'admin', '2024-03-18 13:59:52', 0, 0);
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769604926780063746', '1769604615294271489', 'A', '1', '', 1, 1, 'admin', '2024-03-18 14:01:06', 0, 0, 0);
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769605012008321025', '1769604615294271489', 'B', '2', '', 2, 1, 'admin', '2024-03-18 14:01:27', 0, 0, 0);
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769605036586942466', '1769604615294271489', 'C', '3', '', 3, 1, 'admin', '2024-03-18 14:01:33', 0, 0, 0);
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769605071110258690', '1769604615294271489', 'D', '4', '', 4, 1, 'admin', '2024-03-18 14:01:41', 0, 0, 0);
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769605104899571714', '1769604615294271489', 'E', '5', '', 5, 1, 'admin', '2024-03-18 14:01:49', 0, 0, 0);
@@ -212,6 +212,7 @@ public class ProcessEsChange implements Serializable {
* 授权部门 * 授权部门
*/ */
@ApiModelProperty(value = "更改级别代号") @ApiModelProperty(value = "更改级别代号")
@Dict(dicCode = "change_level_code")
private String levelCode; private String levelCode;
/** /**
@@ -374,6 +374,9 @@ public class ProcessESChangeEndListener implements ExecutionListener {
private void setContent(List<XWPFTableRow> rows, int rowNum, int cellNum, String content, private void setContent(List<XWPFTableRow> rows, int rowNum, int cellNum, String content,
boolean newLine, boolean alignCenter, boolean verCenter) { boolean newLine, boolean alignCenter, boolean verCenter) {
if (StrUtil.isBlank(content)) {
return;
}
XWPFTableRow row = rows.get(rowNum); XWPFTableRow row = rows.get(rowNum);
List<XWPFTableCell> cells = row.getTableCells(); List<XWPFTableCell> cells = row.getTableCells();
if (!cells.isEmpty()) { if (!cells.isEmpty()) {