diff --git a/zdxt-modules/zdxt-enforcement-code/src/main/resources/mapper/enforcementcode/CimDashboardOverviewMapper.xml b/zdxt-modules/zdxt-enforcement-code/src/main/resources/mapper/enforcementcode/CimDashboardOverviewMapper.xml index dd96dac0..2bd4285a 100644 --- a/zdxt-modules/zdxt-enforcement-code/src/main/resources/mapper/enforcementcode/CimDashboardOverviewMapper.xml +++ b/zdxt-modules/zdxt-enforcement-code/src/main/resources/mapper/enforcementcode/CimDashboardOverviewMapper.xml @@ -15,10 +15,18 @@ left join dashboard_area_info t3 on t2.area_node = t3.code - t1.is_submit = 1 - and t1.is_delete = 0 + + t1.is_delete = 0 + and t1.bureau_dept_name is not null + and t1.is_submit = 1 + and t1.law_enforcement_id is not null and t1.enterprise_name is not null and t1.enterprise_number is not null + and t1.law_enforcer is not null + and t1.law_enforcer_two is not null + and t1.is_complaint is not null + and t1.check_category is not null + and t1.bureau_dept_id is not null and DATE_FORMAT(t1.enforcement_time,'%Y-%m-%d') = DATE_FORMAT(#{dayTime},'%Y-%m-%d') @@ -96,6 +104,14 @@ t2.area_node = t3.code t1.has_delete = 0 + and t1.bureau_dept_name is not null + and t1.dept_id is not null + and t1.enterprise_name is not null + and t1.enterprise_number is not null + and t1.law_enforcer_id is not null + and t1.law_enforcer_id_other is not null + and t1.law_enforcement_type is not null + and t1.bureau_dept_id is not null and DATE_FORMAT(t1.enforcement_time,'%Y-%m-%d') = DATE_FORMAT(#{dayTime},'%Y-%m-%d')