瀏覽代碼

1.修改xml。

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