台桌列表未绑定台桌状态为unbind

This commit is contained in:
SongZhang 2024-10-24 15:47:24 +08:00
parent d15b17729c
commit 4ec0f04cc5
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
ArrayList<Map<String, Object>> infoList = new ArrayList<>();
for (TbShopTable date : tbShopTableList) {
if (StrUtil.isBlank(date.getQrcode())) {
date.setStatus("closed");
date.setStatus("unbind");
} else if (tbCashierCartMapper.selectCount(new LambdaQueryWrapper<TbCashierCart>()
.eq(TbCashierCart::getShopId, date.getShopId())
.eq(TbCashierCart::getTableId, date.getQrcode())