package com.saye.hrs.service.system.impl;

import com.saye.hrs.mapper.system.UserRoleMapper;
import com.saye.hrs.model.UserRole;
import com.saye.hrs.service.system.UserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class UserRoleServiceImpl implements UserRoleService {
	@Autowired
	private UserRoleMapper userRoleMapper;
	@Override
	public List<UserRole> selectUserRoleByUserId(String userId) {
		// TODO Auto-generated method stub
		return userRoleMapper.selectUserRoleByUserId(userId);
	}

}
