增加配置文件 导出pdf临时文件路径 设置 、 仿宋体字体文件路径 设置

增加iText导出pdf文件依赖。
This commit is contained in:
wangzhijiang
2022-05-23 20:30:26 +08:00
parent d59a93ade1
commit 79c4014ed3
5 changed files with 36 additions and 3 deletions
@@ -0,0 +1,8 @@
-- 2022 05 23
--任务清单表,增加流程结束时间, 三个流程里最后一个流程结束的时间,后续导出pdf报告时用到
ALTER TABLE project_task_inventory
ADD COLUMN `process_end_time` datetime NULL COMMENT '流程结束时间-最终时间' AFTER `verify_person_charge_feedback`;
--流程历史表,增加法规清单id字段关联 后续导出pdf报告时用到
ALTER TABLE process_history
ADD COLUMN `project_laws_inventory_id` varchar(64) NULL COMMENT '法规清单id' AFTER `approval_opinion`;
@@ -297,4 +297,10 @@ public class ProjectTaskInventoryEO implements Serializable {
private String prehomoPersonChargeFeedback; private String prehomoPersonChargeFeedback;
/**验证符合性 责任人填写反馈意见**/ /**验证符合性 责任人填写反馈意见**/
private String verifyPersonChargeFeedback; private String verifyPersonChargeFeedback;
/**流程结束时间 最后的时间*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "流程结束时间 最后的时间")
private Date processEndTime;
} }
@@ -98,5 +98,8 @@ public class ProcessHistoryEO implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private String name;; private String name;;
@ApiModelProperty(value = "法规清单id")
private String projectLawsInventoryId;
} }
@@ -198,6 +198,10 @@ jero :
img: D://opt//upFiles/ img: D://opt//upFiles/
#webapp文件路径 #webapp文件路径
webapp: D://opt//webapp webapp: D://opt//webapp
#导出pdf临时文件路径 设置
exportPdfTempPath: D://opt//exportPdfTemp/
#仿宋体字体文件路径 设置
simfangFontFilePath: D://opt//simfangFontFilePath//simfang.ttf
shiro: shiro:
excludeUrls: /test/jeroDemo/demo3,/test/jeroDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/** excludeUrls: /test/jeroDemo/demo3,/test/jeroDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
#阿里云oss存储配置 #阿里云oss存储配置
+15 -3
View File
@@ -4,7 +4,7 @@
<artifactId>jero-boot</artifactId> <artifactId>jero-boot</artifactId>
<version>2.4.2</version> <version>2.4.2</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
@@ -70,7 +70,7 @@
<url>http://maven.hzwlsoft.com:4000/repository/maven-snapshots/</url> <url>http://maven.hzwlsoft.com:4000/repository/maven-snapshots/</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
<repositories> <repositories>
<repository> <repository>
<id>aliyun</id> <id>aliyun</id>
@@ -305,6 +305,18 @@
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- pdf打印 -->
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>5.5.10</version>
</dependency>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itext-asian</artifactId>
<version>5.2.0</version>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
@@ -423,4 +435,4 @@
</properties> </properties>
</profile> </profile>
</profiles> </profiles>
</project> </project>