月报整合导出--资讯行业动态模板

This commit is contained in:
zhn
2022-08-18 14:36:18 +08:00
parent f03fb666bf
commit 34fadc1ddf
3 changed files with 8 additions and 5 deletions
@@ -196,7 +196,8 @@ public class LawsMonthlyReportWriteEO implements Serializable {
//新添字段
private String relatedAreasCn;//相关领域中文
private String relatedAreasEn;//相关领域英文
private String source;//来源
private String sourceCn;//来源中文
private String sourceEn;//来源英文
private String time;//日期
}
@@ -31,7 +31,8 @@
<result column="export_state" property="exportState" />
<result column="related_areas_cn" property="relatedAreasCn" />
<result column="related_areas_en" property="relatedAreasEn" />
<result column="source" property="source" />
<result column="source_cn" property="sourceCn" />
<result column="source_en" property="sourceEn" />
<result column="time" property="time" />
</resultMap>
</mapper>
@@ -519,7 +519,8 @@ public class WordUtil {
String cut) {
String relatedAreasCn = lawsMonthlyReportWriteEO.getRelatedAreasCn();//相关领域中文
String relatedAreasEn = lawsMonthlyReportWriteEO.getRelatedAreasEn();//相关领域英文
String source = lawsMonthlyReportWriteEO.getSource();//来源
String sourceCn = lawsMonthlyReportWriteEO.getSourceCn();//来源
String sourceEn = lawsMonthlyReportWriteEO.getSourceEn();
String time = lawsMonthlyReportWriteEO.getTime();//日期
String contentCn = lawsMonthlyReportWriteEO.getContentCn();//主要内容中文
String contentEn = lawsMonthlyReportWriteEO.getContentEn();//主要内容英文
@@ -545,7 +546,7 @@ public class WordUtil {
//第1行
setCell(table, 0, "相关领域",relatedAreasCn);
//第2行
setCell(table,1, "来源",source);
setCell(table,1, "来源",sourceCn);
//第3行
setCell(table,2, "日期",time);
//第4行
@@ -556,7 +557,7 @@ public class WordUtil {
//第1行
setCell(table,0, "Related Areas",relatedAreasEn);
//第2行
setCell(table,1,"source",source);
setCell(table,1,"Source",sourceEn);
//第3行
setCell(table,2,"Date",time);
//第4行