소스 검색

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