package com.jwipc.sys.service.impl;

import com.jwipc.sys.entity.DealtWithTargetRole;
import com.jwipc.sys.mapper.DealtWithTargetRoleMapper;
import com.jwipc.sys.service.IDealtWithTargetRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 指标角色对应表 服务实现类
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-01-30
 */
@Service
public class DealtWithTargetRoleServiceImpl extends ServiceImpl<DealtWithTargetRoleMapper, DealtWithTargetRole> implements IDealtWithTargetRoleService {

    @Override
    public List<DealtWithTargetRole> getUserDwt(Long userId, int type) {
        return this.baseMapper.selectUserDwt(userId,type);
    }
}
