|
@@ -82,7 +82,7 @@ public class ReportServiceImpl implements IReportService {
|
|
|
if (!f.exists()) {
|
|
|
f.mkdirs();
|
|
|
}
|
|
|
- String reportPath = res.getXmmc() + "(选址报告)_" + timeStamp + ".docx";
|
|
|
+ String reportPath = "选址报告_" + timeStamp + ".docx";
|
|
|
// TODO ###选址报告耗时,暂时隐藏###
|
|
|
createReport(res, allPath + "/" + reportPath, dkIds);
|
|
|
// 生成返回结果
|
|
@@ -120,7 +120,7 @@ public class ReportServiceImpl implements IReportService {
|
|
|
document = new XWPFDocument();
|
|
|
int pos = 0;
|
|
|
// 0、文本标题
|
|
|
- NpoiHelper.title(document, res.getXmmc() + "选址报告", pos++);
|
|
|
+ NpoiHelper.title(document, "选址报告", pos++);
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日");
|
|
|
// NpoiHelper.Option optionCENTER = new NpoiHelper.Option();
|
|
|
// optionCENTER.setAlign(ParagraphAlignment.CENTER);
|
|
@@ -209,7 +209,7 @@ public class ReportServiceImpl implements IReportService {
|
|
|
for (int i = 0; i < fzxzJgGisDTOList.size(); i++) {
|
|
|
SelectionResDTO item = fzxzJgGisDTOList.get(i);
|
|
|
|
|
|
- String dkidStr= item.getDkid().toString();
|
|
|
+ String dkidStr = item.getDkid().toString();
|
|
|
List<String> dkidList = Arrays.asList(dkidStr.split(","));
|
|
|
// 地块信息
|
|
|
List<Map<String, String>> dkList = getDkList(item.getSjyb(), dkidList.get(0));
|