package com.muchinfo.mtp3century.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muchinfo.mtp3century.service.IArearoleService;
import com.muchinfo.mtp3interface.mapper.IArearoleMapper;
import com.muchinfo.mtp3pojos.entity.Arearole;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 机构角色表 服务实现类
 * </p>
 *
 * @author XKF
 * @since 2024-04-16
 */
@Service
public class ArearoleServiceImpl extends ServiceImpl<IArearoleMapper, Arearole> implements IArearoleService {

    @Resource
    private IArearoleMapper iArearoleMapper;

    @Override
    public String getRolesByAreaid(Long areauserid) {
        return iArearoleMapper.getRolesByAreaid(areauserid);
    }
}
