Pārlūkot izejas kodu

心跳数据不更新已删除设备ip

M墨鱼—_mo 5 gadi atpakaļ
vecāks
revīzija
cd3ab59ce9

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

@@ -158,7 +158,7 @@ id_, header_,device_no,alias_name,address_,is_online,company_id,unlock_password,
 	 	</foreach>
 	</select>
 	<select id="findByDeviceNo" parameterType="string" resultMap="DeviceInfoMap">
-			select * from base_device_info where device_no = #{0}
+			select * from base_device_info where device_no = #{0} and del_flag=false
 	</select>
 
 </mapper>