Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
Tankaikai
2024-12-13 11:31:26 +08:00

View File

@@ -193,8 +193,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
*/ */
private ShopEatTypeInfoDTO getShopEatTypeInfoDTO(Object shopId, String eatModel, String tableId) { private ShopEatTypeInfoDTO getShopEatTypeInfoDTO(Object shopId, String eatModel, String tableId) {
TbShopInfo shopInfo = mpShopInfoMapper.selectOne(new LambdaQueryWrapper<TbShopInfo>() TbShopInfo shopInfo = mpShopInfoMapper.selectOne(new LambdaQueryWrapper<TbShopInfo>()
.eq(TbShopInfo::getId, shopId) .eq(TbShopInfo::getId, shopId));
.eq(TbShopInfo::getStatus, 1));
if (shopInfo == null) { if (shopInfo == null) {
throw new BadRequestException("店铺信息不存在"); throw new BadRequestException("店铺信息不存在");
} }