hanfucheng 7 mesi fa
parent
commit
e8ee0c0f8e

+ 1 - 1
src/main/resources/mapper/lawenforcement/LawenforcementViewMapper.xml

@@ -249,7 +249,7 @@
         WHERE 1=1
         <choose>
             <when test="deviceId != null and deviceId != ''">
-                and a.device_id = #{deviceId}
+                and c.device_id = #{deviceId}
             </when>
             <otherwise>and a.record_status in ('lawenforcement_type_4','lawenforcement_type_6')</otherwise>
         </choose>