Commit 8160f8fa authored by yanzg's avatar yanzg

下载视频

parent 0c62752b
...@@ -66,6 +66,9 @@ public class YzgExcelService { ...@@ -66,6 +66,9 @@ public class YzgExcelService {
throw new CodeException("该用户在该公司当日生成文件达到最大次数"); throw new CodeException("该用户在该公司当日生成文件达到最大次数");
} }
if (fileDao.getCallbackCount(load) < fileReq.getCallBackMax()) { if (fileDao.getCallbackCount(load) < fileReq.getCallBackMax()) {
YzgFileStatusReqVo statusReqVo = new YzgFileStatusReqVo(fileReq.getFileId(), fileReq.getCompanyId());
statusReqVo.setFileStatus(YzgFileVo.FILE_STATUS_RELEASE);
fileDao.updateStatus(statusReqVo);
fileProcedure.fileCallback(callbackReq); fileProcedure.fileCallback(callbackReq);
} }
// 等待15秒后再次发出请求,追踪文件进度 // 等待15秒后再次发出请求,追踪文件进度
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment