Ver Fonte

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

M墨鱼—_mo há 5 anos atrás
pai
commit
cd3ab59ce9
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      common/src/main/resources/mapper/base/DeviceInfo.xml

+ 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>