|
@@ -71,19 +71,11 @@ public class ReportServiceImpl implements IReportService {
|
|
f.mkdirs();
|
|
f.mkdirs();
|
|
}
|
|
}
|
|
String reportPath = res.getXmmc() + "(选址报告)_" + timeStamp + ".docx";
|
|
String reportPath = res.getXmmc() + "(选址报告)_" + timeStamp + ".docx";
|
|
-
|
|
|
|
-
|
|
|
|
|
|
|
|
createReport(res, rootPath + File.separator + reportPath, xzbsmList);
|
|
createReport(res, rootPath + File.separator + reportPath, xzbsmList);
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
|
|
fzxzReport.setRootPath(StringUtils.getFileStaticPath(rootPath));
|
|
fzxzReport.setRootPath(StringUtils.getFileStaticPath(rootPath));
|
|
fzxzReport.setReportfile(StringUtils.getFileStaticPath(rootPath + File.separator + reportPath));
|
|
fzxzReport.setReportfile(StringUtils.getFileStaticPath(rootPath + File.separator + reportPath));
|
|
-
|
|
|
|
-
|
|
|
|
fzxzReport.setBsm(bsm);
|
|
fzxzReport.setBsm(bsm);
|
|
fzxzReport.setFxbg(fzxzReport.getReportfile());
|
|
fzxzReport.setFxbg(fzxzReport.getReportfile());
|
|
fzxzReport.setJsdw(res.getJsdw());
|
|
fzxzReport.setJsdw(res.getJsdw());
|
|
@@ -161,17 +153,17 @@ public class ReportServiceImpl implements IReportService {
|
|
FzxzXzyzDTO fzxzXzyzDTO = fzxzXzyzDTOList.get(i);
|
|
FzxzXzyzDTO fzxzXzyzDTO = fzxzXzyzDTOList.get(i);
|
|
map.put("YXYZMC", fzxzXzyzDTO.getYxyzmc());
|
|
map.put("YXYZMC", fzxzXzyzDTO.getYxyzmc());
|
|
String yztj = "";
|
|
String yztj = "";
|
|
-
|
|
+ if (fzxzXzyzDTO.getSpatial_type() != null) {
|
|
-
|
|
+ if ("contain".equals(fzxzXzyzDTO.getSpatial_type())) {
|
|
-
|
|
+ yztj = "包含";
|
|
-
|
|
+ } else if ("n_contain".equals(fzxzXzyzDTO.getSpatial_type())) {
|
|
-
|
|
+ yztj = "不包含";
|
|
-
|
|
+ } else if ("identity".equals(fzxzXzyzDTO.getSpatial_type())) {
|
|
-
|
|
+ yztj = "相交";
|
|
-
|
|
+ } else if ("n_identity".equals(fzxzXzyzDTO.getSpatial_type())) {
|
|
-
|
|
+ yztj = "不相交";
|
|
-
|
|
+ }
|
|
-
|
|
+ }
|
|
|
|
|
|
map.put("YZTJ_TEXT", yztj);
|
|
map.put("YZTJ_TEXT", yztj);
|
|
Float yxz = (float) 0;
|
|
Float yxz = (float) 0;
|