|
|
@@ -1061,7 +1061,8 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
if (reportResult.getOverallScore() != null) {
|
|
|
if (reportResult.getOverallScore() >= 90) {
|
|
|
demReportDataVo.setOverallRating("低风险");
|
|
|
- } else if (reportResult.getOverallScore() >= 80) {
|
|
|
+ // } else if (reportResult.getOverallScore() >= 80) {
|
|
|
+ } else if (reportResult.getOverallScore() >= 70) {
|
|
|
demReportDataVo.setOverallRating("一般风险");
|
|
|
} else if (reportResult.getOverallScore() >= 60) {
|
|
|
demReportDataVo.setOverallRating("较高风险");
|
|
|
@@ -1076,7 +1077,7 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
DemReportInfo demReportInfo = new DemReportInfo();
|
|
|
demReportInfo.setCompanyId(baseCompanies.get(i).getCompanyId());
|
|
|
demReportInfo.setCompanyCode(baseCompanies.get(i).getCompanyCode());
|
|
|
- demReportInfo.setReportName(now.get(Calendar.YEAR) + "年" + now.get(Calendar.MONTH) + "消防报告");
|
|
|
+ demReportInfo.setReportName(now.get(Calendar.YEAR) + "年消防报告");
|
|
|
demReportInfo.setReportPath(reportResult.getReportUrl());
|
|
|
demReportInfo.setCreateTime(LocalDateTime.now());
|
|
|
demReportInfo.setStatisticsTime(now.get(Calendar.YEAR) + "-" + now.get(Calendar.MONTH));
|
|
|
@@ -1131,7 +1132,7 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
paragraph1.setAlignment(0); // 设置文字居中 0靠左 1,居中 2,靠右
|
|
|
|
|
|
Paragraph paragraph2 =
|
|
|
- new Paragraph("本次综合分析是通过贵单位在" + demReportDataVo.getLastMonthFirstTime() + "-" + demReportDataVo.getLastMonthEndTime() +
|
|
|
+ new Paragraph("本次综合分析是通过贵单位在" + demReportDataVo.getLastMonthFirstTime().substring(0, 10) + "-" + demReportDataVo.getLastMonthEndTime().substring(0, 10) +
|
|
|
"日期间消防设施状况、消防自主管理状况、监督执法情况、火灾风险指数和建筑整体指数进行综合评估,现将综合分析报告如下:", textfont);
|
|
|
paragraph2.setAlignment(0); // 设置文字居中 0靠左 1,居中 2,靠右
|
|
|
paragraph2.setFirstLineIndent(24); // 设置首行缩进
|
|
|
@@ -1276,7 +1277,7 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
paragraph66.setSpacingBefore(5f);
|
|
|
paragraph66.setSpacingAfter(10f);
|
|
|
|
|
|
- Paragraph paragraph12 = new Paragraph("(二)消防自主管理问题", textfont);
|
|
|
+ Paragraph paragraph12 = new Paragraph("(二)消防自主管理情况", textfont);
|
|
|
paragraph12.setAlignment(0); // 设置文字居中 0靠左 1,居中 2,靠右
|
|
|
paragraph12.setFirstLineIndent(24); // 设置首行缩进
|
|
|
paragraph12.setLeading(20f); // 行间距
|
|
|
@@ -1304,6 +1305,20 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
paragraph15.setSpacingBefore(5f); // 设置段落上空白
|
|
|
paragraph15.setSpacingAfter(10f); // 设置段落下空白
|
|
|
|
|
|
+ Paragraph paragraph32 = new Paragraph("【总结】:", textfont);
|
|
|
+ paragraph32.setAlignment(0);
|
|
|
+ paragraph32.setFirstLineIndent(24);
|
|
|
+ paragraph32.setLeading(20f);
|
|
|
+ paragraph32.setSpacingBefore(5f);
|
|
|
+ paragraph32.setSpacingAfter(10f);
|
|
|
+
|
|
|
+ Paragraph paragraph33 = new Paragraph("当前您单位消防自主管理相关制度档案落实较好,制度较为完善,消防管理档案管理建议,重点部门数据完整,请继续保持制度文档的更新,防火巡查检查的持续落实,及时关注消防部门救援公众号和消防服务平台,加强第三方设施维保,确保完好有效。建议委托聘请第三方机构。加强日常巡查,提升质效。", textfont);
|
|
|
+ paragraph33.setAlignment(0);
|
|
|
+ paragraph33.setFirstLineIndent(24);
|
|
|
+ paragraph33.setLeading(20f);
|
|
|
+ paragraph33.setSpacingBefore(5f);
|
|
|
+ paragraph33.setSpacingAfter(10f);
|
|
|
+
|
|
|
Paragraph paragraph155 = new Paragraph("【管理建议】:", textfont);
|
|
|
paragraph155.setAlignment(0);
|
|
|
paragraph155.setFirstLineIndent(24);
|
|
|
@@ -1311,7 +1326,7 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
paragraph155.setSpacingBefore(5f);
|
|
|
paragraph155.setSpacingAfter(10f);
|
|
|
|
|
|
- Paragraph paragraph1555 = new Paragraph("针对管理制度与档案缺失的风险,建议依据《上海市单位消防安全管理规定》等法规,搭建数字化消防档案管理系统。明确各部门、各岗位的消防安全职责,将培训、值班、巡查等记录电子化、流程化,确保各项制度可追溯、可考核,可在数字平台“重点单位预案”菜单提交以下制度文件(消控室值班人员、消控室持证照片、部门岗位消防安全职责、安全疏散设施管理制度消防安全教育培训制度、防火巡查检查制度、消防(控制室)值斑管理制度、消防设施器材维护管理制度、火灾隐患整改制度、用火用电安全管理制度、易燃易爆危险物品和场所防火防管理制度、专职消防队微型消防站或义务消防队组织管理制度、灭火和应急疏散预案演练制度、燃气和电气设备检査和管理制度(含防雷、防静电) 施工现场消防安全管理制度、消防安全工作考评和奖惩制度、租赁场所安全管理制度和消防安全管理分工文件、其他结合单位情况制定的消防安全制度)。", textfont);
|
|
|
+ Paragraph paragraph1555 = new Paragraph("针对管理制度与档案缺失的风险,建议依据《上海市单位消防安全管理规定》等法规,搭建数字化消防档案管理系统。明确各部门、各岗位的消防安全职责,将培训、值班、巡查等记录电子化、流程化,确保各项制度可追溯、可考核,可在数字平台“重点单位预案”菜单提交以下制度文件(消控室值班人员、消控室持证照片、部门岗位消防安全职责、安全疏散设施管理制度消防安全教育培训制度、防火巡查检查制度、消防(控制室)值班管理制度、消防设施器材维护管理制度、火灾隐患整改制度、用火用电安全管理制度、易燃易爆危险物品和场所防火管理制度、专职消防队微型消防站或义务消防队组织管理制度、灭火和应急疏散预案演练制度、燃气和电气设备检査和管理制度(含防雷、防静电) 施工现场消防安全管理制度、消防安全工作考评和奖惩制度、租赁场所安全管理制度和消防安全管理分工文件、其他结合单位情况制定的消防安全制度)。", textfont);
|
|
|
paragraph1555.setAlignment(0);
|
|
|
paragraph1555.setFirstLineIndent(24);
|
|
|
paragraph1555.setLeading(20f);
|
|
|
@@ -1335,6 +1350,20 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
paragraph17.setSpacingBefore(5f); // 设置段落上空白
|
|
|
paragraph17.setSpacingAfter(10f); // 设置段落下空白
|
|
|
|
|
|
+ Paragraph paragraph29 = new Paragraph("【总结】:", textfont);
|
|
|
+ paragraph29.setAlignment(0);
|
|
|
+ paragraph29.setFirstLineIndent(24);
|
|
|
+ paragraph29.setLeading(20f);
|
|
|
+ paragraph29.setSpacingBefore(5f);
|
|
|
+ paragraph29.setSpacingAfter(10f);
|
|
|
+
|
|
|
+ Paragraph paragraph30 = new Paragraph("当前您单位在监督检查数据中未关联到隐患、处罚、投诉等相关数据,建议以“巩固优势、前瞻防控”为核心,持续筑牢安全防线,以常态化、精细化管理,持续巩固安全优势,成为区域内企业消防管理的标杆。", textfont);
|
|
|
+ paragraph30.setAlignment(0);
|
|
|
+ paragraph30.setFirstLineIndent(24);
|
|
|
+ paragraph30.setLeading(20f);
|
|
|
+ paragraph30.setSpacingBefore(5f);
|
|
|
+ paragraph30.setSpacingAfter(10f);
|
|
|
+
|
|
|
Paragraph paragraph177 = new Paragraph("【管理建议】:", textfont);
|
|
|
paragraph177.setAlignment(0);
|
|
|
paragraph177.setFirstLineIndent(24);
|
|
|
@@ -1367,11 +1396,54 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
paragraph19.setSpacingBefore(5f); // 设置段落上空白
|
|
|
paragraph19.setSpacingAfter(10f); // 设置段落下空白
|
|
|
|
|
|
+ Paragraph paragraph31 = new Paragraph("【总结】:", textfont);
|
|
|
+ paragraph31.setAlignment(0);
|
|
|
+ paragraph31.setFirstLineIndent(24);
|
|
|
+ paragraph31.setLeading(20f);
|
|
|
+ paragraph31.setSpacingBefore(5f);
|
|
|
+ paragraph31.setSpacingAfter(10f);
|
|
|
+
|
|
|
+ Paragraph paragraph34 = new Paragraph("当前您单位在火灾统计数据中未关联到火灾发生、人员伤亡、财产损失相关数据,建议固化经验,排查盲区、升级设施、培育文化,筑牢“零火灾”的安全底线。", textfont);
|
|
|
+ paragraph34.setAlignment(0);
|
|
|
+ paragraph34.setFirstLineIndent(24);
|
|
|
+ paragraph34.setLeading(20f);
|
|
|
+ paragraph34.setSpacingBefore(5f);
|
|
|
+ paragraph34.setSpacingAfter(10f);
|
|
|
+
|
|
|
+ Paragraph paragraph35 = new Paragraph("(五)建筑整体情况", textfont);
|
|
|
+ paragraph35.setAlignment(0);
|
|
|
+ paragraph35.setFirstLineIndent(24);
|
|
|
+ paragraph35.setLeading(20f);
|
|
|
+ paragraph35.setSpacingBefore(5f);
|
|
|
+ paragraph35.setSpacingAfter(10f);
|
|
|
+
|
|
|
+ Paragraph paragraph36 = new Paragraph("建筑信息情况分析:未填报;", textfont);
|
|
|
+ paragraph36.setAlignment(0); // 设置文字居中 0靠左 1,居中 2,靠右
|
|
|
+ paragraph36.setFirstLineIndent(24); // 设置首行缩进
|
|
|
+ paragraph36.setLeading(20f); // 行间距
|
|
|
+ paragraph36.setSpacingBefore(5f); // 设置段落上空白
|
|
|
+ paragraph36.setSpacingAfter(10f); // 设置段落下空白
|
|
|
+
|
|
|
+ Paragraph paragraph37 = new Paragraph("【总结】:", textfont);
|
|
|
+ paragraph37.setAlignment(0);
|
|
|
+ paragraph37.setFirstLineIndent(24);
|
|
|
+ paragraph37.setLeading(20f);
|
|
|
+ paragraph37.setSpacingBefore(5f);
|
|
|
+ paragraph37.setSpacingAfter(10f);
|
|
|
+
|
|
|
+ Paragraph paragraph38 = new Paragraph("您单位数据缺失或不全,请进入消防企业管理移动端“单位采集”搜索企业名称的,填写建筑信息。\n" +
|
|
|
+ "建筑管理是消防安全的基础,建议从单位的建筑结构情况、建筑层数、地下空间面积、使用性质、使用年限等情况,结合建筑结构,筑牢安全“骨架”,依据建筑层数,分层管控垂直风险,针对地下空间面积,破解封闭环境隐患,结合使用性质,匹配场景化防控措施,根据使用年限,动态应对老化风险。", textfont);
|
|
|
+ paragraph38.setAlignment(0);
|
|
|
+ paragraph38.setFirstLineIndent(24);
|
|
|
+ paragraph38.setLeading(20f);
|
|
|
+ paragraph38.setSpacingBefore(5f);
|
|
|
+ paragraph38.setSpacingAfter(10f);
|
|
|
+
|
|
|
Paragraph paragraph20 = new Paragraph("四、防范对策及建议", headfont);
|
|
|
paragraph20.setAlignment(0); // 设置文字居中 0靠左 1,居中 2,靠右
|
|
|
paragraph20.setFirstLineIndent(24); // 设置首行缩进
|
|
|
|
|
|
- Paragraph paragraph21 = new Paragraph("1、建议联系消防设施维保单位对本单位开展一次全面维护保养,对损坏、故障的设施要及时修复,确保消防设施完整好用;", textfont);
|
|
|
+ Paragraph paragraph21 = new Paragraph("1、建议联系消防设施维保单位对本单位开展一次全面维护保养,对损坏、故障的设施要及时修复,确保消防设施 完整好用;", textfont);
|
|
|
paragraph21.setAlignment(0); // 设置文字居中 0靠左 1,居中 2,靠右
|
|
|
paragraph21.setFirstLineIndent(24); // 设置首行缩进
|
|
|
paragraph21.setLeading(20f); // 行间距
|
|
|
@@ -1399,6 +1471,20 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
paragraph24.setSpacingBefore(5f); // 设置段落上空白
|
|
|
paragraph24.setSpacingAfter(10f); // 设置段落下空白
|
|
|
|
|
|
+ Paragraph paragraph27 = new Paragraph("5、服务指导申请:帮助企业单位主动发现并解决消防安全问题,从源头上预防火灾风险。它是一个官方预约平台。企业单位如果遇到消防安全方面的疑问、困难或需要专业指导,可以主动通过这个平台提交申请,预约消防部门的专业人员(防火监督员、专家)在约定时间上门提供技术指导、政策咨询和解决方案。为企业提供一次“消防安全专家上门免费问诊”机会。申请方式一:关注“闵行消防”微信公众号,进行“指导式服务预约”申请,申请方式二:直接访问以下链接地址申请https://shxf.h5yunban.cn/shxf-order/index.php。", textfont);
|
|
|
+ paragraph27.setAlignment(0);
|
|
|
+ paragraph27.setFirstLineIndent(24);
|
|
|
+ paragraph27.setLeading(20f);
|
|
|
+ paragraph27.setSpacingBefore(5f);
|
|
|
+ paragraph27.setSpacingAfter(10f);
|
|
|
+
|
|
|
+ Paragraph paragraph28 = new Paragraph("6、如需进一步了解或对报告内容有任何疑问,敬请联系您企业的对应属地消防联系人。", textfont);
|
|
|
+ paragraph28.setAlignment(0);
|
|
|
+ paragraph28.setFirstLineIndent(24);
|
|
|
+ paragraph28.setLeading(20f);
|
|
|
+ paragraph28.setSpacingBefore(5f);
|
|
|
+ paragraph28.setSpacingAfter(10f);
|
|
|
+
|
|
|
// Paragraph paragraph25 = new Paragraph("五、具体问题清单", headfont);
|
|
|
// paragraph25.setAlignment(0); // 设置文字居中 0靠左 1,居中 2,靠右
|
|
|
// paragraph25.setFirstLineIndent(24); // 设置首行缩进
|
|
|
@@ -1473,13 +1559,23 @@ public class ReportIndexResultServiceImpl extends AbstractCrudService<ReportInde
|
|
|
document.add(paragraph1555);
|
|
|
document.add(paragraph16);
|
|
|
document.add(paragraph17);
|
|
|
+ document.add(paragraph29);
|
|
|
+ document.add(paragraph30);
|
|
|
document.add(paragraph18);
|
|
|
document.add(paragraph19);
|
|
|
+ document.add(paragraph31);
|
|
|
+ document.add(paragraph34);
|
|
|
+ document.add(paragraph35);
|
|
|
+ document.add(paragraph36);
|
|
|
+ document.add(paragraph37);
|
|
|
+ document.add(paragraph38);
|
|
|
document.add(paragraph20);
|
|
|
document.add(paragraph21);
|
|
|
document.add(paragraph22);
|
|
|
document.add(paragraph23);
|
|
|
document.add(paragraph24);
|
|
|
+ document.add(paragraph27);
|
|
|
+ document.add(paragraph28);
|
|
|
// document.add(paragraph25);
|
|
|
// document.add(anchor);
|
|
|
// document.add(p2);
|