加入购物车修改
This commit is contained in:
parent
b50e76c04e
commit
2eaa98a4bc
|
|
@ -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 ?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue