feat: 创建订单修改台桌信息
This commit is contained in:
@@ -1204,6 +1204,10 @@ public class OrderService {
|
|||||||
// 代课下单
|
// 代课下单
|
||||||
mpShopTableMapper.update(null, new LambdaUpdateWrapper<TbShopTable>()
|
mpShopTableMapper.update(null, new LambdaUpdateWrapper<TbShopTable>()
|
||||||
.eq(TbShopTable::getQrcode, orderInfo.getTableId())
|
.eq(TbShopTable::getQrcode, orderInfo.getTableId())
|
||||||
|
.set(TbShopTable::getProductNum, cashierIds.isEmpty() ? 0 : cashierIds.size())
|
||||||
|
.set(TbShopTable::getTotalAmount, orderInfo.getOrderAmount())
|
||||||
|
.set(TbShopTable::getRealAmount, orderInfo.getOrderAmount())
|
||||||
|
.set(TbShopTable::getUseNum, mealNum)
|
||||||
.set(TbShopTable::getStatus, TableStateEnum.USING.getState()));
|
.set(TbShopTable::getStatus, TableStateEnum.USING.getState()));
|
||||||
|
|
||||||
// 打印票据
|
// 打印票据
|
||||||
|
|||||||
Reference in New Issue
Block a user