|
|
|
@ -167,6 +167,10 @@ public class FactoryCommonServiceImpl implements IFactoryCommonService {
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error(">>>> 数据推送异常", e); |
|
|
|
|
Boolean exists = bladeRedis.exists(redisKey); |
|
|
|
|
if(Boolean.TRUE.equals(exists)){ |
|
|
|
|
bladeRedis.del(redisKey); |
|
|
|
|
} |
|
|
|
|
orderPackageStatusPushFailLogService.saveOrderPackageStatusFaleLog(unitNo, currentWarehouseId, status, operationTime, trayId); |
|
|
|
|
log.error(">>>> 保存到错误数据推送记录 {}", unitNo); |
|
|
|
|
} |
|
|
|
@ -174,6 +178,10 @@ public class FactoryCommonServiceImpl implements IFactoryCommonService {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
Boolean exists = bladeRedis.exists(redisKey); |
|
|
|
|
if(Boolean.TRUE.equals(exists)){ |
|
|
|
|
bladeRedis.del(redisKey); |
|
|
|
|
} |
|
|
|
|
orderPackageStatusPushFailLogService.saveOrderPackageStatusFaleLog(unitNo, currentWarehouseId, status, operationTime, trayId); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|