代客下单创建订单修改
This commit is contained in:
@@ -1181,11 +1181,14 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
cashierCartMapper.updateById(cashierCart);
|
cashierCartMapper.updateById(cashierCart);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (createOrderDTO.isPostPay()) {
|
||||||
|
rabbitMsgUtils.printDishesTicket(orderId, false, orderDetails);
|
||||||
|
}
|
||||||
|
|
||||||
if (isFirst) {
|
if (isFirst) {
|
||||||
// 后付费,不增加当前台桌取餐号
|
// 后付费,不增加当前台桌取餐号
|
||||||
if (createOrderDTO.isPostPay()) {
|
if (createOrderDTO.isPostPay()) {
|
||||||
addGlobalCode(day, "pc", String.valueOf(createOrderDTO.getShopId()));
|
addGlobalCode(day, "pc", String.valueOf(createOrderDTO.getShopId()));
|
||||||
rabbitMsgUtils.printDishesTicket(orderId, false, orderDetails);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!createOrderDTO.isPostPay() || (addMaterId && "pending".equals(orderInfo.getStatus()))) {
|
if (!createOrderDTO.isPostPay() || (addMaterId && "pending".equals(orderInfo.getStatus()))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user