package cn.iocoder.yudao.module.system.dal.mysql.restaurant;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.system.dal.dataobject.restaurant.RestaurantManagementDO;
import org.apache.ibatis.annotations.Mapper;


/**
 * 餐厅管理 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface RestaurantManagementMapper extends BaseMapperX<RestaurantManagementDO> {

//    default PageResult<RestaurantManagementDO> selectPage(RestaurantManagementPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<RestaurantManagementDO>()
//                .likeIfPresent(RestaurantManagementDO::getRestaurantName, reqVO.getRestaurantName())
//                .eqIfPresent(RestaurantManagementDO::getRestaurantDescription, reqVO.getRestaurantDescription())
//                .eqIfPresent(RestaurantManagementDO::getPictures, reqVO.getPictures())
//                .betweenIfPresent(RestaurantManagementDO::getCreatedTime, reqVO.getCreatedTime())
//                .eqIfPresent(RestaurantManagementDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(RestaurantManagementDO::getId));
//    }

}