Commit 20866e89 by yangxiujun

fix:上传修改

1 parent 88692098
......@@ -278,9 +278,16 @@ public class OrderCreateServiceImpl implements OrderCreateService {
ArrayList<OrderInfoErrorExcelDTO> errorExcelDTOS = new ArrayList<>();
errorExcelDTOS.addAll(errorList);
log.info("错误日志"+errorExcelDTOS);
fileRateDTO.setTotalCount(cachedDataList.size());
fileRateDTO.setErrorCount(errorExcelDTOS.size());
if (errorExcelDTOS.size() > 0){
fileRateDTO.setErrorExcelDTOList(errorExcelDTOS);
redisService.set(key, JSONObject.toJSONString(fileRateDTO), 60L);
}
for (OrderInfoExcelDTO req : cachedDataList) {
OrderInfoEntity byOrderId = orderInfoDao.getByOrderId(req.getOrderId());
String peaBrand = req.getBrand();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!