diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/home.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/home.html index 8b5cc525..38a7e114 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/home.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/home.html @@ -18,36 +18,36 @@
-
00.0%
+
00.0%
- 0.0% + 0.0%
- 0.0% + 0.0%
-
00.0%
+
00.0%
- 0.0% + 0.0%
- 0.0% + 0.0%
@@ -72,9 +72,9 @@
-
5,457
+
0
-
14.77%
+
0.0%
@@ -129,8 +129,8 @@
-
36,952
-
(市直:23,625各区:13,327)
+
0
+
(市直:0各区:0)
@@ -138,739 +138,24 @@
-
33,461
-
(市直:13,920各区:19,541)
+
0
+
(市直:0各区:0)
深圳地图
-
- - -
-
-
福田区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
罗湖区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
盐田区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
南山区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
宝安区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
龙岗区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
龙华区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
坪山区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
光明区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
大鹏新区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
-
- - -
-
-
深汕特别合作区
- -
-
-
-
(行政执法总数:32031)
-
    -
  • - - 13,02340.66%
  • -
  • - - 16,95252.93%
  • -
  • - - 2,0566.42%
  • -
  • - - 11,821
  • -
  • - - 1,073
  • -
-
- -
-
-
+ + + + + + + + + + +
- + SELECT count(1) FROM enforcement_registration r + WHERE r.bureau_dept_name is not null and r.is_submit = 1 and r.law_enforcement_id is not null and r.enterprise_name is not null @@ -1161,26 +1151,43 @@ and r.is_complaint is not null and r.check_category is not null and r.bureau_dept_id is not null + and (r.union_no IS NOT NULL and r.union_no != '') and r.bureau_dept_id in (select dept_id from sys_dept where zone = #{params.zone}) and r.dept_id in (select sd.dept_id from sys_dept sd where find_in_set(#{deptId}, sd.ancestors) or sd.dept_id = #{deptId}) - and (r.union_no is not null and r.union_no != '') - and (r.union_no is null or r.union_no = '') and( r.law_enforcer_id=#{userId} or r.law_enforcer_id_two like concat('%',#{userId}, '%')) and DATE_FORMAT(r.enforcement_time,'%Y-%m-%d') >= DATE_FORMAT(#{beginTime},'%Y-%m-%d') and DATE_FORMAT(#{endTime},'%Y-%m-%d') >= DATE_FORMAT(r.enforcement_time,'%Y-%m-%d') - + SELECT count(1) FROM enforcement_registration r + WHERE r.bureau_dept_name is not null + and r.is_submit = 1 + and r.law_enforcement_id is not null + and r.enterprise_name is not null + and r.enterprise_number is not null + and r.law_enforcer is not null + and r.law_enforcer_two is not null + and r.is_complaint is not null + and r.check_category is not null + and r.bureau_dept_id is not null + and (r.union_no IS NOT NULL and r.union_no != '') + and r.bureau_dept_id in (select dept_id from sys_dept where zone = #{params.zone}) + + and r.dept_id in (select sd.dept_id from sys_dept sd where find_in_set(#{deptId}, sd.ancestors) or sd.dept_id = #{deptId}) - - count(1) as num + and( r.law_enforcer_id=#{userId} or r.law_enforcer_id_two like concat('%',#{userId}, '%')) + + and DATE_FORMAT(r.enforcement_time,'%Y-%m-%d')>=DATE_SUB(STR_TO_DATE(#{beginTime},"%Y-%m-%d"),INTERVAL TO_DAYS(STR_TO_DATE(#{endTime},"%Y-%m-%d"))-TO_DAYS(STR_TO_DATE(#{beginTime},"%Y-%m-%d"))+1 day) - from enforcement_registration r - where r.bureau_dept_name is not null + + and DATE_SUB(STR_TO_DATE(#{endTime},"%Y-%m-%d"),INTERVAL TO_DAYS(STR_TO_DATE(#{endTime},"%Y-%m-%d"))-TO_DAYS(STR_TO_DATE(#{beginTime},"%Y-%m-%d"))+1 day)>=DATE_FORMAT(r.enforcement_time,'%Y-%m-%d') + + + + + + + + + + - + SELECT COUNT(1) AS _count + FROM ( + SELECT 1 + FROM enforcement_registration r + WHERE r.bureau_dept_name is not null + and r.is_submit = 1 + and r.law_enforcement_id is not null + and r.enterprise_name is not null + and r.enterprise_number is not null + and r.law_enforcer is not null + and r.law_enforcer_two is not null + and r.is_complaint is not null + and r.check_category is not null + and r.bureau_dept_id is not null + and (r.union_no IS NOT NULL and r.union_no != '') + and r.bureau_dept_id in (select dept_id from sys_dept where zone = #{params.zone}) + + and r.dept_id in (select sd.dept_id from sys_dept sd where find_in_set(#{deptId}, sd.ancestors) or sd.dept_id = #{deptId}) - - count(1) as num + and( r.law_enforcer_id=#{userId} or r.law_enforcer_id_two like concat('%',#{userId}, '%')) + + and DATE_FORMAT(DATE_SUB(r.enforcement_time,INTERVAL -1 year),'%Y-%m-%d') >= DATE_FORMAT(#{beginTime},'%Y-%m-%d') - from enforcement_registration r - where r.bureau_dept_name is not null + + and DATE_FORMAT(#{endTime},'%Y-%m-%d') >= DATE_FORMAT(DATE_SUB(r.enforcement_time,INTERVAL -1 year),'%Y-%m-%d') + + GROUP BY union_no + HAVING COUNT(1) > 1 + ) AS t + + + + + +