package com.tofly.feesapi.udb.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tofly.feesapi.udb.entity.UserRole;
import com.tofly.feesapi.udb.mapper.UserRoleMapper;
import com.tofly.feesapi.udb.service.UserRoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lihaoli
 * @date 2025/1/17
 */
@DS("udb")
@Service
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole> implements UserRoleService {
    @Override
    public List<UserRole> get(Long userid) {
        return this.baseMapper.get(userid);
    }
}
