Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -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("店铺信息不存在");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user