package com.zcloud.personnel.positioning.persistence.repository.impl;

import com.zcloud.personnel.positioning.persistence.dataobject.BiPersonPositionUserDO;
import com.zcloud.personnel.positioning.persistence.mapper.UserMapper;
import com.zcloud.personnel.positioning.persistence.repository.UserRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户仓储实现。
 *
 * @Author Codex
 * @Date 2026-07-27
 */
@Service
@RequiredArgsConstructor
public class UserRepositoryImpl implements UserRepository {
    private final UserMapper userMapper;

    @Override
    public List<BiPersonPositionUserDO> listBiPersonPositionUsers(String corpinfoId) {
        return userMapper.selectBiPersonPositionUsers(corpinfoId);
    }
}
