fire_point/src/main/java/com/xkrs/service/impl/SysRoleServiceImpl.java

28 lines
639 B
Java
Raw Normal View History

2021-07-12 14:51:34 +08:00
package com.xkrs.service.impl;
import com.xkrs.dao.SysRoleDao;
import com.xkrs.model.entity.SysRoleEntity;
import com.xkrs.service.SysRoleService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
/**
* 系统角色服务实现
* @author tajochen
*/
@Service
public class SysRoleServiceImpl implements SysRoleService {
@Resource
private SysRoleDao sysRoleDao;
@Override
public List<SysRoleEntity> getSysRoleListByUserName(String userName) {
return sysRoleDao.selectByUserName(userName);
}
}