feat: 临时菜实现
This commit is contained in:
@@ -202,7 +202,7 @@ public class TbOrderInfoServiceImpl implements TbOrderInfoService {
|
||||
TbOrderDetail seatInfo = null;
|
||||
ArrayList<TbFullOrderDetail> detailList = new ArrayList<>();
|
||||
for (TbFullOrderDetail detail : details) {
|
||||
if (TableConstant.CART_SEAT_ID.equals(detail.getProductId().toString())) {
|
||||
if (detail.getProductId() != null && TableConstant.CART_SEAT_ID.equals(detail.getProductId().toString())) {
|
||||
seatInfo = detail;
|
||||
} else {
|
||||
detailList.add(detail);
|
||||
|
||||
Reference in New Issue
Block a user