|
@@ -146,7 +146,7 @@ public class CameraServiceImpl extends ServiceImpl<ICameraMapper, Camera> implem
|
|
|
if(res.length !=2 || StringUtils.isBlank(res[1])){
|
|
|
throw new BusinessException(ResultCode.WIFI_NAME_ERROR);
|
|
|
}
|
|
|
- if(cameraTypeMap.get(res[0]) == null){
|
|
|
+ if(cameraTypeMap.get(res[0] +"_") == null){
|
|
|
throw new BusinessException(ResultCode.WIFI_NAME_ERROR);
|
|
|
}
|
|
|
Camera camera = new Camera();
|