package com.yeejoin.amos.boot.module.jxiop.biz.amosprojectmapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.boot.module.jxiop.biz.amosprojectentity.StdUserEmpower;
import com.yeejoin.amos.feign.privilege.model.CompanyModel;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @description:
 * @author: tw
 * @createDate: 2023/11/9
 */
public interface UserEmpowerMapper extends BaseMapper<StdUserEmpower> {
    @Select("select company_name as companyName , `level` from privilege_company where org_code = #{orgCode}")
    CompanyModel getCompanyInfoByOrgCode(String orgCode);

}
