package com.storlead.sales.service.impl.customer;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.storlead.framework.common.constant.DSConstants;
import com.storlead.sales.pojo.entity.customer.UserInfoEntity;
import com.storlead.sales.mapper.customer.UserInfoMapper;
import com.storlead.sales.service.customer.UserInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author YPZ
 * @since 2025-03-06
 */
@Service
@DS(DSConstants.DATASOURCE_MANAGEMENT)
public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfoEntity> implements UserInfoService {

    @Override
    public List<UserInfoEntity> queryUserInfoListByType(Long maxUserId) {
        return baseMapper.queryUserInfoListByType(maxUserId);
    }
}
