|
@@ -178,6 +178,9 @@ public class UserIncrementServiceImpl extends ServiceImpl<IUserIncrementMapper,
|
|
if(userIncrement == null){
|
|
if(userIncrement == null){
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3030, LoginConstant.FAILURE_MSG_3030);
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3030, LoginConstant.FAILURE_MSG_3030);
|
|
}
|
|
}
|
|
|
|
+ if(userIncrement.getIsExpired() == 1){
|
|
|
|
+ throw new BusinessException(LoginConstant.FAILURE_CODE_3030, LoginConstant.FAILURE_MSG_3030);
|
|
|
|
+ }
|
|
Camera cameraEntity = cameraService.getBySnCode(param.getSnCode());
|
|
Camera cameraEntity = cameraService.getBySnCode(param.getSnCode());
|
|
if(cameraEntity == null){
|
|
if(cameraEntity == null){
|
|
throw new BusinessException(CameraConstant.FAILURE_CODE_6003, CameraConstant.FAILURE_MSG_6003);
|
|
throw new BusinessException(CameraConstant.FAILURE_CODE_6003, CameraConstant.FAILURE_MSG_6003);
|