Commit cac9a9e7 by yangxiujun

fix:下载上传中禁止再次上传

1 parent da5a8f63
...@@ -271,7 +271,7 @@ public class OrderCreateServiceImpl implements OrderCreateService { ...@@ -271,7 +271,7 @@ public class OrderCreateServiceImpl implements OrderCreateService {
throw new BusinessException("模版数据不能为空"); throw new BusinessException("模版数据不能为空");
} }
FileRateDTO fileRateDTO1 = JSONObject.parseObject(redisService.get(key), FileRateDTO.class); FileRateDTO fileRateDTO1 = JSONObject.parseObject(redisService.get(key), FileRateDTO.class);
if (fileRateDTO1.getFlag() == 1) { if (fileRateDTO1 != null && fileRateDTO1.getFlag() == 1) {
throw new BusinessException("用户正在上传中,请稍后再试"); throw new BusinessException("用户正在上传中,请稍后再试");
} }
//创建保存的对象 //创建保存的对象
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!