|
@@ -115,9 +115,9 @@ public class ReportServiceImpl implements IReportService {
|
|
|
// 0、文本标题
|
|
|
NpoiHelper.title(document, res.getXmmc() + "选址报告", pos++);
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日");
|
|
|
- NpoiHelper.Option optionCENTER = new NpoiHelper.Option();
|
|
|
- optionCENTER.setAlign(ParagraphAlignment.CENTER);
|
|
|
- document.setParagraph(NpoiHelper.newParagraph(document, sdf.format(new Date()), optionCENTER), pos++);
|
|
|
+ // NpoiHelper.Option optionCENTER = new NpoiHelper.Option();
|
|
|
+ // optionCENTER.setAlign(ParagraphAlignment.CENTER);
|
|
|
+ // document.setParagraph(NpoiHelper.newParagraph(document, sdf.format(new Date()), optionCENTER), pos++);
|
|
|
|
|
|
// 1、项目选址信息
|
|
|
NpoiHelper.catalog(document, "一、项目选址信息", pos++);
|
|
@@ -128,6 +128,7 @@ public class ReportServiceImpl implements IReportService {
|
|
|
listTemp.add("\t建设单位:" + res.getJsdw());
|
|
|
listTemp.add("\t用地面积:" + ydmj + "亩");
|
|
|
listTemp.add("\t用地性质:" + res.getYdmc());
|
|
|
+ listTemp.add("\t分析时间:" + sdf.format(new Date()));
|
|
|
listTemp.add("\t影响因子:");
|
|
|
NpoiHelper.content(document, listTemp, pos++);
|
|
|
List tabYzTitles = new ArrayList<NpoiHelper.TableTitle>();
|