@@ -307,7 +307,9 @@ public class CameraServiceImpl extends ServiceImpl<ICameraMapper, Camera> implem
errorSnCode2.add(snCode);
}
- throw new BusinessException(-1,"snCode:"+errorSnCode2+"不存在");
+ if(errorSnCode2.size() >0){
+ throw new BusinessException(-1,"snCode:"+errorSnCode2+"不存在");
+ }