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) {
TbShopInfo shopInfo = mpShopInfoMapper.selectOne(new LambdaQueryWrapper<TbShopInfo>()
.eq(TbShopInfo::getId, shopId)
.eq(TbShopInfo::getStatus, 1));
.eq(TbShopInfo::getId, shopId));
if (shopInfo == null) {
throw new BadRequestException("店铺信息不存在");
}