|
@@ -285,11 +285,13 @@ public class DownService implements IDownService {
|
|
|
throw new BusinessException(ResultCode.FAILURE_CODE_400003,ResultCode.FAILURE_MSG_400003);
|
|
|
}
|
|
|
downVo.setStatus(1003);
|
|
|
+
|
|
|
if(vo.getStatus() == 0 || vo.getStatus() == 2 || vo.getStatus() == 3){ //下载中
|
|
|
ssNumProcessNumMap.merge(sceneNum, 1, Integer::sum);
|
|
|
Integer percent = ssNumProcessNumMap.get(sceneNum);
|
|
|
- if(percent >100){
|
|
|
- percent = 99;
|
|
|
+ percent = percent /2;
|
|
|
+ if(percent >50){
|
|
|
+ percent = 50;
|
|
|
}
|
|
|
downVo.setStatus(1001);
|
|
|
downVo.setPercent(percent);
|