Browse Source

修复bug

lyhzzz 1 năm trước cách đây
mục cha
commit
13f851d4e8

+ 3 - 3
src/main/java/com/fdkankan/ucenter/service/impl/CameraServiceImpl.java

@@ -303,9 +303,9 @@ public class CameraServiceImpl extends ServiceImpl<ICameraMapper, Camera> implem
             if(cameraDetail == null){
                 throw new BusinessException(AppConstant.FAILURE_CODE_4010, wifiName +"-"+ AppConstant.FAILURE_MSG_4010);
             }
-            if( cameraDetail.getUserId() != null){
-                throw new BusinessException(CameraConstant.FAILURE_CODE_6010, wifiName +"-"+ CameraConstant.FAILURE_MSG_6010);
-            }
+//            if( cameraDetail.getUserId() != null){
+//                throw new BusinessException(CameraConstant.FAILURE_CODE_6010, wifiName +"-"+ CameraConstant.FAILURE_MSG_6010);
+//            }
             cameraIds.add(camera.getId());
         }