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

import com.saye.hospitalgd.mapper.system.UserRoleMapper;
import com.saye.hospitalgd.model.UserRole;
import com.saye.hospitalgd.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);
	}

}
