Commit 8c0688e9 by yangxiujun

fix:修改上传

1 parent 503c2be2
......@@ -102,7 +102,15 @@ public class FileController {
}
FileRateDTO rate = orderCreateService.getsuccessRate(token);
if (rate != null && (rate.getSuccessCount() == rate.getTotalCount())){
if (rate != null && (rate.getSuccessCount() == rate.getTotalCount())) {
//上传成功,删除上传的进度条
orderCreateService.delRate(token);
}
if (rate != null && (rate.getTotalCount() == rate.getErrorCount())) {
//上传成功,删除上传的进度条
orderCreateService.delRate(token);
}
if (rate != null && (rate.getTotalCount() == rate.getErrorCount() + rate.getTotalCount())) {
//上传成功,删除上传的进度条
orderCreateService.delRate(token);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!