|
@@ -149,6 +149,11 @@ public class AsyncTaskImportService {
|
|
|
}
|
|
|
CellValue customerIdCellValue = evaluator.evaluate(customerIdCell);
|
|
|
Integer customerId = (int) customerIdCellValue.getNumberValue();
|
|
|
+ if(customerId==0){
|
|
|
+ messageContent.append("导入失败,");
|
|
|
+ messageContent.append(ResultStatus.CUSTOMER_IS_NOT_EXISTED.getMessage());
|
|
|
+ continue;
|
|
|
+ }
|
|
|
dto.setCustomerId(customerId);
|
|
|
|
|
|
|