Blame view

CompanyDictMapper.java 790 Bytes
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
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);

}