清台修改

This commit is contained in:
2024-10-11 10:30:39 +08:00
parent 537820890f
commit cd7af3e395
2 changed files with 5 additions and 1 deletions

View File

@@ -150,6 +150,10 @@ public class PayService {
mpShopTableMapper.update(null, new LambdaUpdateWrapper<TbShopTable>()
.eq(TbShopTable::getQrcode, orderInfo.getTableId())
.set(TbShopTable::getStatus, TableStateEnum.IDLE.getState()));
}else {
mpShopTableMapper.update(null, new LambdaUpdateWrapper<TbShopTable>()
.eq(TbShopTable::getQrcode, orderInfo.getTableId())
.set(TbShopTable::getStatus, TableStateEnum.CLEANING.getState()));
}
}
}