zhengqiang преди 5 години
родител
ревизия
5e08506e95
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      common/src/main/resources/mapper/base/PersonInfo.xml

+ 1 - 1
common/src/main/resources/mapper/base/PersonInfo.xml

@@ -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