1.代客下单 添加购物车接口添加id
This commit is contained in:
@@ -330,6 +330,11 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
.eq(TbCashierCart::getMasterId, "");
|
||||
}));
|
||||
});
|
||||
|
||||
if (addCartDTO.getCartId() != null) {
|
||||
query.eq(TbCashierCart::getId, addCartDTO.getCartId());
|
||||
}
|
||||
|
||||
TbCashierCart tbCashierCart = cashierCartMapper.selectOne(query);
|
||||
// 首次加入
|
||||
if (tbCashierCart == null) {
|
||||
|
||||
Reference in New Issue
Block a user