Commit 88692098 by yangxiujun

fix:打印日志

1 parent 9e854da0
......@@ -93,9 +93,14 @@ public class OrderInfoErrorExcelDTO {
@ColumnWidth(value = 20)
private String description;
@ExcelProperty(value = "工单标签")
@ColumnWidth(value = 20)
private String orderTags;
@ExcelProperty(value = "失败原因")
@ColumnWidth(value = 20)
private String error;
}
......@@ -276,9 +276,11 @@ public class OrderCreateServiceImpl implements OrderCreateService {
//创建保存的对象
FileRateDTO fileRateDTO = new FileRateDTO();
ArrayList<OrderInfoErrorExcelDTO> errorExcelDTOS = new ArrayList<>(errorList);
ArrayList<OrderInfoErrorExcelDTO> errorExcelDTOS = new ArrayList<>();
errorExcelDTOS.addAll(errorList);
log.info("错误日志"+errorExcelDTOS);
fileRateDTO.setTotalCount(cachedDataList.size());
fileRateDTO.setErrorCount(errorExcelDTOS.size());
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!