|
|
@ -15,10 +15,18 @@ |
|
|
left join dashboard_area_info t3 on |
|
|
left join dashboard_area_info t3 on |
|
|
t2.area_node = t3.code |
|
|
t2.area_node = t3.code |
|
|
<where> |
|
|
<where> |
|
|
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_name is not null |
|
|
and t1.enterprise_number 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 |
|
|
<if test="dayTime !=null"> |
|
|
<if test="dayTime !=null"> |
|
|
and DATE_FORMAT(t1.enforcement_time,'%Y-%m-%d') = DATE_FORMAT(#{dayTime},'%Y-%m-%d') |
|
|
and DATE_FORMAT(t1.enforcement_time,'%Y-%m-%d') = DATE_FORMAT(#{dayTime},'%Y-%m-%d') |
|
|
</if> |
|
|
</if> |
|
|
@ -96,6 +104,14 @@ |
|
|
t2.area_node = t3.code |
|
|
t2.area_node = t3.code |
|
|
<where> |
|
|
<where> |
|
|
t1.has_delete = 0 |
|
|
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 |
|
|
<if test="dayTime !=null"> |
|
|
<if test="dayTime !=null"> |
|
|
and DATE_FORMAT(t1.enforcement_time,'%Y-%m-%d') = DATE_FORMAT(#{dayTime},'%Y-%m-%d') |
|
|
and DATE_FORMAT(t1.enforcement_time,'%Y-%m-%d') = DATE_FORMAT(#{dayTime},'%Y-%m-%d') |
|
|
</if> |
|
|
</if> |
|
|
|