Pārlūkot izejas kodu

机构补充信息优化

xujie 1 gadu atpakaļ
vecāks
revīzija
c43d3d401f

+ 2 - 0
soc-api/soc-api-system/src/main/java/com/xunmei/system/api/domain/SysOrgExtend.java

@@ -114,6 +114,8 @@ public class SysOrgExtend extends BaseEntity {
     private Integer safeBox;
     private Integer innerCount;
     private Integer outsideCount;
+    private Integer remoteControlCount;
+    private Integer cashAddingRoomControlCount;
 
     /**
      * 离行式大堂设备

+ 6 - 0
soc-modules/soc-modules-system/src/main/java/com/xunmei/system/dto/SysOrgExtendDto.java

@@ -124,4 +124,10 @@ public class SysOrgExtendDto  {
      */
     @ApiModelProperty(value = "加钞间远程控制")
     private Integer cashAddingRoomRemoteControl;
+
+    @ApiModelProperty(value = "可远程控制和实时授权出入口数量(业务库)")
+    private Integer remoteControlCount;
+
+    @ApiModelProperty(value = "可远程控制和实时授权出入口数量(离行式)")
+    private Integer cashAddingRoomControlCount;
 }

+ 2 - 0
soc-modules/soc-modules-system/src/main/java/com/xunmei/system/service/impl/SysOrgServiceImpl.java

@@ -345,6 +345,8 @@ public class SysOrgServiceImpl extends ServiceImpl<SysOrgMapper, SysOrg> impleme
             Map remote = baseMapper.getRemote(s.getPath());
             securityWorkExport.setCashAddingRoom(Integer.valueOf(remote.get("cashAddingRoom").toString()));
             securityWorkExport.setRemoteCount(Integer.valueOf(remote.get("remoteCount").toString()));
+            securityWorkExport.setCashAddingRoomControlCount(Integer.valueOf(remote.get("cashAddingRoomControlCount").toString()));
+            securityWorkExport.setRemoteControlCount(Integer.valueOf(remote.get("remoteControlCount").toString()));
 
 
             //夜间值守

+ 38 - 34
soc-modules/soc-modules-system/src/main/java/com/xunmei/system/util/SecurityWorkExport.java

@@ -73,73 +73,77 @@ public class SecurityWorkExport {
     private Integer cameraTotal;
     @ExcelProperty(value = {"监控中心建设", "视频监控摄像头高清摄像机路数"}, index = 26)
     private Integer definitionNumber;
-    @ExcelProperty(value = {"监控中心建设", "是否实现远程控制和实时授权的功能", "离行式自助银行加钞间出入口设置数量"}, index = 27)
+    @ExcelProperty(value = {"监控中心建设", "未实现远程控制和实时授权功能", "离行式自助银行加钞间出入口设置数量"}, index = 27)
     private Integer cashAddingRoom;
-    @ExcelProperty(value = {"监控中心建设", "是否实现远程控制和实时授权的功能", "业务库(不含保管箱库)防控隔离门出入口设置数量"}, index = 28)
+    @ExcelProperty(value = {"监控中心建设", "未实现远程控制和实时授权功能", "业务库(不含保管箱库)防控隔离门出入口设置数量"}, index = 28)
     private Integer remoteCount;
-    @ExcelProperty(value = {"营业网点夜间值守", "本地值守网点数量(由员工进行同楼异地值守)"}, index = 29)
+    @ExcelProperty(value = {"监控中心建设", "实现远程控制和实时授权功能", "离行式自助银行加钞间出入口设置数量"}, index = 29)
+    private Integer cashAddingRoomControlCount;
+    @ExcelProperty(value = {"监控中心建设", "实现远程控制和实时授权功能", "业务库(不含保管箱库)防控隔离门出入口设置数量"}, index = 30)
+    private Integer remoteControlCount;
+    @ExcelProperty(value = {"营业网点夜间值守", "本地值守网点数量(由员工进行同楼异地值守)"}, index = 31)
     private Integer localDutyNetworkNumber;
-    @ExcelProperty(value = {"营业网点夜间值守", "异地值守网点数量(由监控中心进行远程值守)"}, index = 30)
+    @ExcelProperty(value = {"营业网点夜间值守", "异地值守网点数量(由监控中心进行远程值守)"}, index = 32)
     private Integer remoteDutyNetworkNumber;
-    @ExcelProperty(value = {"机构及人员配备", "是否设立独立机构数"}, index = 31)
+    @ExcelProperty(value = {"机构及人员配备", "是否设立独立机构数"}, index = 33)
     private String isAlone;
-    @ExcelProperty(value = {"机构及人员配备", "部门负责人、一般管理人员和监控中心负责人为专职人数"}, index = 32)
+    @ExcelProperty(value = {"机构及人员配备", "部门负责人、一般管理人员和监控中心负责人为专职人数"}, index = 34)
     private Integer managerFullTime;
-    @ExcelProperty(value = {"机构及人员配备", "部门负责人、一般管理人员和监控中心负责人为兼职人数"}, index = 33)
+    @ExcelProperty(value = {"机构及人员配备", "部门负责人、一般管理人员和监控中心负责人为兼职人数"}, index = 35)
     private Integer managerPartTime;
-    @ExcelProperty(value = {"机构及人员配备", "部门负责人、一般管理人员和监控中心负责人安保持证人数"}, index = 34)
+    @ExcelProperty(value = {"机构及人员配备", "部门负责人、一般管理人员和监控中心负责人安保持证人数"}, index = 36)
     private Integer managerCertificate;
-    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "是否设专(兼)职主任"}, index = 35)
+    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "是否设专(兼)职主任"}, index = 37)
     private String isLeader;
-    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "是否设专(兼)职技术维护岗"}, index = 36)
+    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "是否设专(兼)职技术维护岗"}, index = 38)
     private String isTechnology;
-    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "人员合计"}, index = 37)
+    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "人员合计"}, index = 39)
     private Integer monitorTotal;
-    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "其中,内部员工人数(含派遣)"}, index = 38)
+    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "其中,内部员工人数(含派遣)"}, index = 40)
     private Integer innerPeople;
-    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "其中,外聘员工人数"}, index = 39)
+    @ExcelProperty(value = {"机构及人员配备", "监控中心人员情况", "其中,外聘员工人数"}, index = 41)
     private Integer outPeople;
-    @ExcelProperty(value = {"机构及人员配备", "监控中心安保卫持证人数"}, index = 40)
+    @ExcelProperty(value = {"机构及人员配备", "监控中心安保卫持证人数"}, index = 42)
     private Integer certificatePeopleNumber;
-    @ExcelProperty(value = {"机构及人员配备", "营业网点保安人员数", "人员合计"}, index = 41)
+    @ExcelProperty(value = {"机构及人员配备", "营业网点保安人员数", "人员合计"}, index = 43)
     private Integer certificateTotal;
-    @ExcelProperty(value = {"机构及人员配备", "营业网点保安人员数", "其中,内部保安人数(含派遣)"}, index = 42)
+    @ExcelProperty(value = {"机构及人员配备", "营业网点保安人员数", "其中,内部保安人数(含派遣)"}, index = 44)
     private Integer internalCertificateNumber;
-    @ExcelProperty(value = {"机构及人员配备", "营业网点保安人员数", "其中,外聘保安人数"}, index = 43)
+    @ExcelProperty(value = {"机构及人员配备", "营业网点保安人员数", "其中,外聘保安人数"}, index = 45)
     private Integer outsourceCertificateNumber;
-    @ExcelProperty(value = {"机构及人员配备", "配有保安网点数"}, index = 44)
+    @ExcelProperty(value = {"机构及人员配备", "配有保安网点数"}, index = 46)
     private Integer haveSecurityNetworkNumber;
-    @ExcelProperty(value = {"责任制落实", "各级治安保卫责任书签订情况(份)", "总行(联社)与各职能部门、营业网点签订数"}, index = 45)
+    @ExcelProperty(value = {"责任制落实", "各级治安保卫责任书签订情况(份)", "总行(联社)与各职能部门、营业网点签订数"}, index = 47)
     private Integer safeHeadToNetwork;
-    @ExcelProperty(value = {"责任制落实", "各级治安保卫责任书签订情况(份)", "各职能部门、营业网点与各员工签订数"}, index = 46)
+    @ExcelProperty(value = {"责任制落实", "各级治安保卫责任书签订情况(份)", "各职能部门、营业网点与各员工签订数"}, index = 48)
     private Integer safeNetworkToPeople;
-    @ExcelProperty(value = {"责任制落实", "各级联防协议书签订情况(份)", "总行(联社)与当地机关、单位或居民签订协议书数量"}, index = 47)
+    @ExcelProperty(value = {"责任制落实", "各级联防协议书签订情况(份)", "总行(联社)与当地机关、单位或居民签订协议书数量"}, index = 49)
     private Integer jointHeadToNetwork;
-    @ExcelProperty(value = {"责任制落实", "各级联防协议书签订情况(份)", " 各营业网点(离行式自助银行)与当地机关、单位或居民签订协议书数量"}, index = 48)
+    @ExcelProperty(value = {"责任制落实", "各级联防协议书签订情况(份)", " 各营业网点(离行式自助银行)与当地机关、单位或居民签订协议书数量"}, index = 50)
     private Integer jointNetworkToPeople;
-    @ExcelProperty(value = {"总行(联社)安全检查 ", "组织开展检查次数"}, index = 49)
+    @ExcelProperty(value = {"总行(联社)安全检查 ", "组织开展检查次数"}, index = 51)
     private Integer headSafeCheckNumber;
-    @ExcelProperty(value = {"总行(联社)安全检查 ", "检查网点数量"}, index = 50)
+    @ExcelProperty(value = {"总行(联社)安全检查 ", "检查网点数量"}, index = 52)
     private Integer headSafeCheckNetworkNumber;
-    @ExcelProperty(value = {"总行(联社)安全检查 ", "发现隐患数"}, index = 51)
+    @ExcelProperty(value = {"总行(联社)安全检查 ", "发现隐患数"}, index = 53)
     private Integer foundDangerNumber;
-    @ExcelProperty(value = {"总行(联社)安全检查 ", "已整改隐患数"}, index = 52)
+    @ExcelProperty(value = {"总行(联社)安全检查 ", "已整改隐患数"}, index = 54)
     private Integer rectificationDangerNumber;
-    @ExcelProperty(value = {"总行(联社)安全检查 ", "未整改隐患数"}, index = 53)
+    @ExcelProperty(value = {"总行(联社)安全检查 ", "未整改隐患数"}, index = 55)
     private Integer noRectificationDangerNumber;
-    @ExcelProperty(value = {"营业网点安全检查", "本季度辖内所有营业网点组织开展自查次数(每个网点检查数量的累计数)"}, index = 54)
+    @ExcelProperty(value = {"营业网点安全检查", "本季度辖内所有营业网点组织开展自查次数(每个网点检查数量的累计数)"}, index = 56)
     private Integer quarterSelfInspectNumber;
-    @ExcelProperty(value = {"安全教育", "本季度度总行(联社)组织开展安全教育次数"}, index = 55)
+    @ExcelProperty(value = {"安全教育", "本季度度总行(联社)组织开展安全教育次数"}, index = 57)
     private Integer quarterSafetyEducationNumber;
-    @ExcelProperty(value = {"安全教育", "共计参与安全教育员工人次"}, index = 56)
+    @ExcelProperty(value = {"安全教育", "共计参与安全教育员工人次"}, index = 58)
     private Integer safetyEducationPeopleNumber;
-    @ExcelProperty(value = {"总行(联社)预案演练", "本季度开展预案演练次数"}, index = 57)
+    @ExcelProperty(value = {"总行(联社)预案演练", "本季度开展预案演练次数"}, index = 59)
     private Integer quarterDrillNumber;
-    @ExcelProperty(value = {"总行(联社)预案演练", "参与预案演练员工人次"}, index = 58)
+    @ExcelProperty(value = {"总行(联社)预案演练", "参与预案演练员工人次"}, index = 60)
     private Integer quarterDrillPeopleNumber;
-    @ExcelProperty(value = {"营业网点预案演练", "本季度辖内所有营业网点开展预案演练次数(每个网点演练次数的累计数)"}, index = 59)
+    @ExcelProperty(value = {"营业网点预案演练", "本季度辖内所有营业网点开展预案演练次数(每个网点演练次数的累计数)"}, index = 61)
     private Integer quarterAllNetworkDrillNumber;
-    @ExcelProperty(value = {"营业网点预案演练", "辖内所有营业网点参与预案演练员工人次"}, index = 60)
+    @ExcelProperty(value = {"营业网点预案演练", "辖内所有营业网点参与预案演练员工人次"}, index = 62)
     private Integer quarterAllNetworkDrillPeopleNumber;
 
 

+ 5 - 3
soc-modules/soc-modules-system/src/main/resources/mapper/system/SysOrgMapper.xml

@@ -999,14 +999,16 @@ and
     <select id="getRemote" resultType="java.util.Map">
         SELECT
             IFNULL( SUM( a.cash_adding_room ), 0 ) AS cashAddingRoom,
-            IFNULL( SUM( a.remote_count ), 0 ) AS remoteCount
+            IFNULL( SUM( a.remote_count ), 0 ) AS remoteCount,
+            IFNULL( SUM( a.cash_adding_room_control_count ), 0 ) AS cashAddingRoomControlCount,
+            IFNULL( SUM( a.remote_control_count ), 0 ) AS remoteControlCount
         FROM
             sys_org_extend a
                 LEFT JOIN sys_org b ON a.org_id = b.id
         where
             1=1
-          and b.type != 10
-          and a.remote_control = 1
+          and b.type = 10
+/*          and a.remote_control = 1*/
           and b.deleted = 0
           and b.is_lock = 0
           and b.path LIKE concat(#{orgPath}, '%')