|
@@ -112,9 +112,11 @@ public class SceneUpgradeToV4Service implements ISceneUpgradeToV4Service {
|
|
|
redisLockUtil.unlockLua(lockKey);
|
|
|
return ResultData.error(ErrorCode.FAILURE_CODE_7019);
|
|
|
}
|
|
|
- if(sceneRepairLog.getState() == 1){
|
|
|
- redisLockUtil.unlockLua(lockKey);
|
|
|
- return ResultData.error(ErrorCode.FAILURE_CODE_7020);
|
|
|
+ if(!param.isReUpgrade()){
|
|
|
+ if(sceneRepairLog.getState() == 1){
|
|
|
+ redisLockUtil.unlockLua(lockKey);
|
|
|
+ return ResultData.error(ErrorCode.FAILURE_CODE_7020);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|