Explorar el Código

1.修改xml。

zhengqiang hace 5 años
padre
commit
5e08506e95
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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