|
@@ -230,13 +230,16 @@ public class CameraServiceImpl extends ServiceImpl<ICameraMapper, Camera> implem
|
|
|
errorIndexList.add(index);
|
|
|
continue;
|
|
|
}
|
|
|
-
|
|
|
+ if(!wifiName.contains("_")){
|
|
|
+ errorIndexList.add(index);
|
|
|
+ continue;
|
|
|
+ }
|
|
|
String[] split = wifiName.split("_");
|
|
|
String cameraPrefix = split[0] +"_";
|
|
|
- String snCode = split[1];
|
|
|
|
|
|
if(!wifiNamePrefixList.contains(cameraPrefix)){
|
|
|
errorIndexList.add(index);
|
|
|
+ continue;
|
|
|
}
|
|
|
wifiNameSet.add(wifiName);
|
|
|
}
|