|
@@ -225,7 +225,7 @@
|
|
|
and a.id_ in (
|
|
|
select b.person_id from base_person_device_filter_log b,base_person_info c
|
|
|
where b.person_id = c.id_
|
|
|
- and c.company_id = #{searchParams.companyId}
|
|
|
+ and c.company_id = a.company_id
|
|
|
and DATEDIFF(b.record_time,#{searchParams.abnormalDate})=0
|
|
|
and b.del_flag=0
|
|
|
and b.temperature_>37
|