package com.yifu.cloud.plus.v1.business.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.business.entity.system.TBusLable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * B端标签表
 *
 * @author hgw
 * @date 2021-08-11 17:00:52
 */
@Mapper
public interface TBusLableMapper extends BaseMapper<TBusLable> {
     /**
      * B端标签表简单分页查询
      *
      * @param tBusLable B端标签表
      * @return
      */
     IPage<TBusLable> getTBusLablePage(Page<TBusLable> page, @Param("tBusLable") TBusLable tBusLable);

     List<TBusLable> getTBusLableList(@Param("tBusLable") TBusLable tBusLable);

     List<TBusLable> getLableByName(@Param("id") Integer id, @Param("name") String name);

}
