1.代客下单 添加购物车新增单品备注
This commit is contained in:
parent
0f9c370118
commit
a40431fbe7
|
|
@ -1037,7 +1037,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||
|
||||
Integer mealNum = null;
|
||||
|
||||
if (cashierCarts.stream().noneMatch(item -> item.getPlaceNum() == null)) {
|
||||
if (addMaterId && cashierCarts.stream().noneMatch(item -> item.getPlaceNum() == null)) {
|
||||
throw new BadRequestException("此次未添加新商品,清先添加商品");
|
||||
}
|
||||
for (TbCashierCart cashierCart : cashierCarts) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue