Pārlūkot izejas kodu

修复 创建设备时候唯一性检测规则

zhaiyifei 1 gadu atpakaļ
vecāks
revīzija
8cb01b48d7

+ 0 - 2
src/main/java/com/yunfeiyun/agmp/iotm/web/service/impl/IotDeviceServiceImpl.java

@@ -112,7 +112,6 @@ public class IotDeviceServiceImpl implements IIotDeviceService
         String devtypeBid = iotDeviceconn.getDevtypeBid();
 
         IotDevice selectIotDevice = new IotDevice();
-        selectIotDevice.setFirmBid(firmBid);
         selectIotDevice.setDevtypeBid(devtypeBid);
 
         List<IotDevice> iotDeviceList = checkIotDeviceList(selectIotDevice);
@@ -200,7 +199,6 @@ public class IotDeviceServiceImpl implements IIotDeviceService
         }
 
         IotDevice selectIotDevice = new IotDevice();
-        selectIotDevice.setFirmBid(newIotDeviceconn.getFirmBid());
         selectIotDevice.setDevCode(devCode);
         selectIotDevice.setDevtypeBid(newIotDeviceconn.getDevtypeBid());