package com.yd.csf.service.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.yd.csf.service.model.ClientRole;
import com.yd.csf.service.dao.ClientRoleMapper;
import com.yd.csf.service.service.IClientRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 客户端角色表 服务实现类
 * </p>
 *
 * @author zxm
 * @since 2025-10-15
 */
@Service
public class ClientRoleServiceImpl extends ServiceImpl<ClientRoleMapper, ClientRole> implements IClientRoleService {

    @Override
    public List<ClientRole> queryList(List<String> roleBizIdList) {
        return this.baseMapper.selectList(new LambdaQueryWrapper<ClientRole>()
                .in(ClientRole::getRoleBizId,roleBizIdList));
    }
}
