|
@@ -275,7 +275,7 @@ public class AppAppOrderServiceImpl extends ServiceImpl<AppOrderDao, TbOrder> im
|
|
|
* @return boolean
|
|
* @return boolean
|
|
|
*/
|
|
*/
|
|
|
private boolean isShopBusinessTime(Long shopId) {
|
|
private boolean isShopBusinessTime(Long shopId) {
|
|
|
- GoodsShop goodsShop = goodsShopDao.selectById(shopId);
|
|
|
|
|
|
|
+ GoodsShop goodsShop = shopMessageService.getShopInfoById(shopId);
|
|
|
if (goodsShop == null) {
|
|
if (goodsShop == null) {
|
|
|
throw new SqxException("无效的店铺id");
|
|
throw new SqxException("无效的店铺id");
|
|
|
}
|
|
}
|
|
@@ -570,7 +570,7 @@ public class AppAppOrderServiceImpl extends ServiceImpl<AppOrderDao, TbOrder> im
|
|
|
try {
|
|
try {
|
|
|
addOrderMessageAndPush(order, goodsShop, mpPushConfig, userEntity);
|
|
addOrderMessageAndPush(order, goodsShop, mpPushConfig, userEntity);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
- log.error("订单:{},订单支付成功通知发送失败,失败原因:{}", e);
|
|
|
|
|
|
|
+ log.error("订单:{},订单支付成功通知发送失败,失败原因:{}", order.getOrderId(), e);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -614,7 +614,7 @@ public class AppAppOrderServiceImpl extends ServiceImpl<AppOrderDao, TbOrder> im
|
|
|
try {
|
|
try {
|
|
|
sendOrderAcceptMessage(order, goodsShop, mpPushConfig, userEntity);
|
|
sendOrderAcceptMessage(order, goodsShop, mpPushConfig, userEntity);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
- log.error("订单:{},商家接单通知发送失败,失败原因:{}", e);
|
|
|
|
|
|
|
+ log.error("订单:{},商家接单通知发送失败,失败原因:{}", order.getOrderId(), e);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -635,7 +635,7 @@ public class AppAppOrderServiceImpl extends ServiceImpl<AppOrderDao, TbOrder> im
|
|
|
|
|
|
|
|
FeiYunUtils.print(goodsShop.getSnCode(), null, order);
|
|
FeiYunUtils.print(goodsShop.getSnCode(), null, order);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
- log.error("订单:{},小票打印失败,失败原因:{}", e);
|
|
|
|
|
|
|
+ log.error("订单:{},小票打印失败,失败原因:{}", order.getOrderId(), e);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|