fix: 赠送单开商品处理

This commit is contained in:
张松 2024-12-19 14:44:02 +08:00
parent 6c940850cb
commit ce108efa97
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ public class OrderService {
List<TbCashierCart> list = cashierCartMapper.selectALlByMasterId(masterId, "create"); List<TbCashierCart> list = cashierCartMapper.selectALlByMasterId(masterId, "create");
TbCashierCart cashierCart = null; TbCashierCart cashierCart = null;
if (type.equals("edit")) { if (type.equals("edit")) {
cashierCart = getCashierInfo(shopId, skuId, productId, tableId, masterId, shopEatTypeInfoDTO, cartId, isGift); cashierCart = getCashierInfo(shopId, skuId, productId, tableId, masterId, shopEatTypeInfoDTO, cartId, null);
if (cashierCart == null) { if (cashierCart == null) {
needNew = true; needNew = true;
} else { } else {