|
@@ -264,7 +264,7 @@ public class CameraDetailServiceImpl extends ServiceImpl<ICameraDetailMapper, Ca
|
|
|
|
|
|
@Override
|
|
|
public Boolean checkSpace(CameraDetail detailEntity, Long space) {
|
|
|
- if(detailEntity.getType() == 10 || detailEntity.getType() == 11){
|
|
|
+ if("aws".equals(CacheUtil.uploadType) && (detailEntity.getType() == 10 || detailEntity.getType() == 11)){
|
|
|
return true;
|
|
|
}
|
|
|
UserIncrement userIncrement = userIncrementService.getByCameraId(detailEntity.getCameraId());
|