|
|
|
@ -281,7 +281,11 @@ public class OuPaiFactoryServiceImpl implements IOuPaiFactoryService {
|
|
|
|
|
log.info("############handleData: 数据处理开始"); |
|
|
|
|
analyzeData(resultArray); |
|
|
|
|
opOrderStatusLogEntity.setDataStatus(1); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
} catch (CustomerException e) { |
|
|
|
|
log.error(">>>> error {}", e.getMessage()); |
|
|
|
|
opOrderStatusLogEntity.setDataStatus(2); |
|
|
|
|
|
|
|
|
|
}catch (Exception e) { |
|
|
|
|
log.error(">>>> error {}", e.getMessage()); |
|
|
|
|
opOrderStatusLogEntity.setDataStatus(2); |
|
|
|
|
|
|
|
|
@ -312,6 +316,8 @@ public class OuPaiFactoryServiceImpl implements IOuPaiFactoryService {
|
|
|
|
|
String type = valueObject.getString("Type"); |
|
|
|
|
if ("中转".equals(type)) { |
|
|
|
|
receivingOrderEntity.setType(1); |
|
|
|
|
log.warn("############handleData: 中转到货暂不接收"); |
|
|
|
|
throw new CustomerException(403,"中转到货暂不接收"); |
|
|
|
|
} else if ("配送".equals(type)) { |
|
|
|
|
receivingOrderEntity.setType(2); |
|
|
|
|
} else { |
|
|
|
|