|
|
|
@ -205,7 +205,7 @@ |
|
|
|
select c.enforce_type as complaint_type from complaint_statistics c |
|
|
|
left join (select id,bureau_dept_id,law_enforcer_id,law_enforcer_id_two from enforcement_registration where |
|
|
|
enterprise_number is not null and check_category is not null) r |
|
|
|
on c.rid=r.id |
|
|
|
on c.rid=r.id COLLATE utf8mb4_general_ci |
|
|
|
<where> |
|
|
|
and (c.rid is not null or c.complaint_department_id is not null) |
|
|
|
and c.enforce_type is not null |
|
|
|
|