加入购物车修改

This commit is contained in:
SongZhang 2024-09-28 09:20:13 +08:00
parent b50e76c04e
commit 2eaa98a4bc
1 changed files with 1 additions and 0 deletions

View File

@ -469,6 +469,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
tbCashierCart.setNumber(addCartDTO.getNum());
tbCashierCart.setCategoryId(product.getCategoryId());
tbCashierCart.setNote(addCartDTO.getNote());
tbCashierCart.setPlatformType(OrderPlatformTypeEnum.PC.getValue());
// 设置打包费
if (shopEatTypeInfoDTO.isTakeout()) {
tbCashierCart.setPackFee(product.getPackFee() != null ?