1.代客下单 购物车返回结构修改,添加购物车不设置placeNum
This commit is contained in:
parent
48078ad2d6
commit
c5d92f9ea6
|
|
@ -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("已下单商品仅支持退单操作");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue