diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html index 002b8677..3cb0899f 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html @@ -29,39 +29,14 @@
+ +
  • 执法部门:

  • -
  • 时段:

    SELECT bureau_dept_name, + bureau_dept_id, count(*) as total, SUM(CASE WHEN time_type = 'year' THEN 1 ELSE 0 END ) as yearTotal, SUM(CASE WHEN time_type = 'quarter' THEN 1 ELSE 0 END ) as quarterTotal, @@ -204,7 +205,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ${params.dataScope} AND bureau_dept_id is not null - and time_type is not null + and time_type is not null and time_type !='0' and (plan_year is not null or quarter is not null or mouth is not null) GROUP BY bureau_dept_id @@ -448,4 +449,75 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" order by create_time desc + + + + + \ No newline at end of file