feat: 临时菜实现
This commit is contained in:
parent
9c9203d93d
commit
41e505e2f4
|
|
@ -202,7 +202,7 @@ public class TbOrderInfoServiceImpl implements TbOrderInfoService {
|
||||||
TbOrderDetail seatInfo = null;
|
TbOrderDetail seatInfo = null;
|
||||||
ArrayList<TbFullOrderDetail> detailList = new ArrayList<>();
|
ArrayList<TbFullOrderDetail> detailList = new ArrayList<>();
|
||||||
for (TbFullOrderDetail detail : details) {
|
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;
|
seatInfo = detail;
|
||||||
} else {
|
} else {
|
||||||
detailList.add(detail);
|
detailList.add(detail);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue