CompanyDictMapper.java
790 Bytes
package com.subsidy.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.model.AdministerDO;
import com.subsidy.model.CompanyDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.vo.administer.OperatorsVO;
import org.springframework.stereotype.Repository;
/**
* <p>
* 企业字典表 Mapper 接口
* </p>
*
* @author DengMin
* @since 2021-10-25
*/
@Repository
public interface CompanyDictMapper extends BaseMapper<CompanyDictDO> {
/**
* 查找运营者
*
* @return
*/
IPage<OperatorsVO> operators(IPage page, String companyName,Integer id, String userName,Integer role);
/**
* 通过企业id查找企业的管理员
*/
AdministerDO getAdministerByCompanyId(Long companyId);
}