|
@@ -340,7 +340,7 @@ public class DownService implements IDownService {
|
|
|
throw new BusinessException(ResultCode.SS_SCENE_DOWN_ERROR);
|
|
|
}
|
|
|
downVo.setStatus(1003);
|
|
|
- if(vo.getStatus() == 0 || vo.getStatus() == 3){ //下载中
|
|
|
+ if(vo.getStatus() == 0 || vo.getStatus() == 2 || vo.getStatus() == 3){ //下载中
|
|
|
ssNumProcessNumE57Map.merge(num, 1, Integer::sum);
|
|
|
Integer percent = ssNumProcessNumE57Map.get(num);
|
|
|
percent = percent /2;
|
|
@@ -350,7 +350,7 @@ public class DownService implements IDownService {
|
|
|
downVo.setStatus(1001);
|
|
|
downVo.setPercent(percent);
|
|
|
}
|
|
|
- if(vo.getStatus() == 1 || vo.getStatus() == 2){ //下载完成
|
|
|
+ if(vo.getStatus() == 1 ){ //下载完成
|
|
|
ssNumProcessNumE57Map.remove(num);
|
|
|
downVo.setPercent(100);
|
|
|
downVo.setUrl(vo.getUrl());
|