|
@@ -76,6 +76,9 @@ public class ReportServiceImpl implements IReportService {
|
|
|
@Resource
|
|
|
ITableDateService tableDateService;
|
|
|
|
|
|
+ private static final String TB_GHDK = "TB_GHDK";
|
|
|
+ private static final String TB_CZGH = "TB_CZGH";
|
|
|
+
|
|
|
// 根据选址任务生成报告
|
|
|
public FzxzReport createReport(String bsm, List<String> dkIds) {
|
|
|
// 保存生成报告日志
|
|
@@ -144,6 +147,11 @@ public class ReportServiceImpl implements IReportService {
|
|
|
listTemp.add("\t用地面积:" + ydmj + "亩");
|
|
|
listTemp.add("\t用地性质:" + res.getYdmc());
|
|
|
listTemp.add("\t分析时间:" + sdf.format(new Date()));
|
|
|
+ if (res.getSjy().equals(TB_GHDK)) {
|
|
|
+ listTemp.add("\t是否位于城镇开发边界内:是");
|
|
|
+ } else {
|
|
|
+ listTemp.add("\t是否位于城镇开发边界内:否");
|
|
|
+ }
|
|
|
listTemp.add("\t影响因子:");
|
|
|
NpoiHelper.content(document, listTemp, pos++);
|
|
|
List tabYzTitles = new ArrayList<NpoiHelper.TableTitle>();
|