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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.boot.module.jxiop.api.entity.StdUserEmpower;
import org.apache.ibatis.annotations.Select;

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}")
    Map<String,String> getCompanyInfoByOrgCode(String orgCode);

}
