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