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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.business.entity.system.TBusLable;

import java.util.List;

/**
 * B端标签表
 *
 * @author hgw
 * @date 2021-08-11 17:00:52
 */
public interface TBusLableService extends IService<TBusLable> {

     /**
      * B端标签表简单分页查询
      *
      * @param tBusLable B端标签表
      * @return
      */
     IPage<TBusLable> getTBusLablePage(Page<TBusLable> page, TBusLable tBusLable);

     /**
      * @param tBusLable
      * @Description: 获取list
      * @Author: hgw
      * @Date: 2021/8/11 17:31
      * @return: java.util.List<com.yifu.cloud.v1.hrobusiness.api.entity.system.TBusLable>
      **/
     List<TBusLable> getTBusLableList(TBusLable tBusLable);

     /**
      * @param id
      * @param name
      * @Description: 获取标签list，判重
      * @Author: hgw
      * @Date: 2021/8/11 16:06
      * @return: java.util.List<com.yifu.cloud.v1.hrobusiness.api.entity.system.TBusDept>
      **/
     List<TBusLable> getLableByName(Integer id, String name);

}
