@@ -10,7 +10,7 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
public enum DeviceSourceEnum {
ManualRegister("设备登记"),
- IOT("人工");
+ IOT("IOT推送");
private String text;
}
@@ -48,7 +48,7 @@
<select id="getHostName" resultType="String">
select equipment_name
from iot_device
- where equipment_code = #{hostCode}
+ where equipment_code = #{hostCode} and deleted=0
</select>
<!-- <select id="pageLog" resultType="com.xunmei.core.resumption.vo.protection.ProtectionLogPageVo">-->
<!-- select a.id, a.name as name,a.status as status,a.status_update_time,a.status_updator_name-->