加入购物车修改
This commit is contained in:
@@ -469,6 +469,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
tbCashierCart.setNumber(addCartDTO.getNum());
|
tbCashierCart.setNumber(addCartDTO.getNum());
|
||||||
tbCashierCart.setCategoryId(product.getCategoryId());
|
tbCashierCart.setCategoryId(product.getCategoryId());
|
||||||
tbCashierCart.setNote(addCartDTO.getNote());
|
tbCashierCart.setNote(addCartDTO.getNote());
|
||||||
|
tbCashierCart.setPlatformType(OrderPlatformTypeEnum.PC.getValue());
|
||||||
// 设置打包费
|
// 设置打包费
|
||||||
if (shopEatTypeInfoDTO.isTakeout()) {
|
if (shopEatTypeInfoDTO.isTakeout()) {
|
||||||
tbCashierCart.setPackFee(product.getPackFee() != null ?
|
tbCashierCart.setPackFee(product.getPackFee() != null ?
|
||||||
|
|||||||
Reference in New Issue
Block a user