|
@@ -264,6 +264,9 @@ public class CameraDetailServiceImpl extends ServiceImpl<ICameraDetailMapper, Ca
|
|
|
}
|
|
|
@Override
|
|
|
public Long getTotalSpaceByCameraId(CameraDetail cameraDetail) {
|
|
|
+ if(cameraDetail.getType() == 10 || cameraDetail.getType() == 11){
|
|
|
+ return -1L;
|
|
|
+ }
|
|
|
UserIncrement userIncrement = userIncrementService.getByCameraId(cameraDetail.getCameraId());
|
|
|
if(userIncrement != null && userIncrement.getIsExpired() == 0){
|
|
|
IncrementType incrementType = incrementTypeService.getById(userIncrement.getIncrementTypeId());
|