package com.yuchen.saas.park.service.mapper.property;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuchen.saas.park.api.entity.property.PropertyBuildingsLevel;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface PropertyBuildingsLevelMapper extends BaseMapper<PropertyBuildingsLevel> {
    @Select("select * from property_buildings_level ${ew.customSqlSegment} order by create_time desc")
    Page<PropertyBuildingsLevel> propertyBuildingsLvlPage(Page<PropertyBuildingsLevel> page, @Param(Constants.WRAPPER) Wrapper<PropertyBuildingsLevel> wrapper);

}
