|
@@ -242,7 +242,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
|
|
|
Long totalSpace = cameraDetail.getTotalSpace();
|
|
|
UserIncrement userIncrement = userIncrementService.getByCameraId(cameraId);
|
|
|
- if(userIncrement!=null){
|
|
|
+ if(userIncrement!=null && userIncrement.getIsExpired()==0){
|
|
|
IncrementType incrementType = incrementTypeService.getById(userIncrement.getIncrementTypeId());
|
|
|
if(incrementType!=null){
|
|
|
if(incrementType.getCameraCapacity() == -1){
|