|
|
@@ -911,8 +911,8 @@ public class DfOrderServiceImpl implements IErpOrderService {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- boolean sendGoods = redisCache.getCacheObject(sendGoodsKey + orderId);
|
|
|
- if (("0".equals(stateEx) || "1".equals(stateEx) || "2".equals(stateEx)) && sendGoods) {
|
|
|
+ Object sendGoods = redisCache.getCacheObject(sendGoodsKey + orderId);
|
|
|
+ if (("0".equals(stateEx) || "1".equals(stateEx) || "2".equals(stateEx)) && !ObjectUtil.isEmpty(sendGoods)) {
|
|
|
log.info("发货消息已发送过,跳过 - orderId: {}", orderId);
|
|
|
return;
|
|
|
}
|