Commit 227dfc5a authored by 赵啸非's avatar 赵啸非

修改打包脚本

parent 914bc0f7
Pipeline #2497 canceled with stages
-- ----------------------------
2023-02-26
-- ----------------------------
ALTER TABLE mortals_xhx_matter_datum_print ADD COLUMN `matterId` bigint(20) COMMENT '事项id' AFTER orderId;
ALTER TABLE mortals_xhx_matter_datum_print ADD COLUMN `matterName` varchar(2048) default '' COMMENT '事项名称' AFTER matterId;
ALTER TABLE mortals_xhx_matter_datum_print ADD COLUMN `matterCode` varchar(255) default '' COMMENT '事项编码' AFTER matterName;
ALTER TABLE mortals_xhx_matter_datum_print ADD COLUMN `deviceCode` varchar(255) default '' COMMENT '设备编码' AFTER matterCode;
ALTER TABLE mortals_xhx_matter_datum_print ADD COLUMN `deviceName` varchar(255) default '' COMMENT '设备名称' AFTER deviceCode;
\ No newline at end of file
package com.mortals.xhx.module.matter.service.impl; package com.mortals.xhx.module.matter.service.impl;
import cn.hutool.core.util.IdUtil;
import com.mortals.xhx.base.system.upload.service.UploadService; import com.mortals.xhx.base.system.upload.service.UploadService;
import com.mortals.xhx.common.utils.WordUtil; import com.mortals.xhx.common.utils.WordUtil;
import com.mortals.xhx.module.matter.model.MatterDatumEntity; import com.mortals.xhx.module.matter.model.MatterDatumEntity;
...@@ -47,6 +48,8 @@ public class MatterDatumPrintServiceImpl extends AbstractCRUDServiceImpl<MatterD ...@@ -47,6 +48,8 @@ public class MatterDatumPrintServiceImpl extends AbstractCRUDServiceImpl<MatterD
} }
} }
entity.setOrderId(IdUtil.simpleUUID());
String rootPath = this.filePath.endsWith("/") ? this.filePath : this.filePath + "/"; String rootPath = this.filePath.endsWith("/") ? this.filePath : this.filePath + "/";
Integer pageByDoc = WordUtil.getPageByDoc(rootPath + entity.getDocPath()); Integer pageByDoc = WordUtil.getPageByDoc(rootPath + entity.getDocPath());
entity.setPage(pageByDoc); entity.setPage(pageByDoc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment