1.代客下单 购物车返回结构修改,添加购物车不设置placeNum

This commit is contained in:
SongZhang 2024-09-12 09:49:54 +08:00
parent 48078ad2d6
commit c5d92f9ea6
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
int currentPlaceNum = getCurrentPlaceNum(tbCashierCart.getTableId().toString(), tbCashierCart.getShopId());
if (!tbCashierCart.getPlaceNum().equals(currentPlaceNum)) {
if (tbCashierCart.getPlaceNum() != null && !tbCashierCart.getPlaceNum().equals(currentPlaceNum)) {
throw new BadRequestException("已下单商品仅支持退单操作");
}