package org.wfc.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.wfc.user.domain.UClient;
import org.wfc.user.domain.vo.UClientHistoryUserVo;
import org.wfc.user.domain.vo.UClientCurrentVo;

import java.util.List;

/**
 * <p>
 * 用户平台_用户设备表 Mapper 接口
 * </p>
 *
 * @author cyc
 * @since 2024-12-09
 */
public interface UClientMapper extends BaseMapper<UClient> {

    List<UClientCurrentVo> getCurrentClients(@Param("userId") Long userId);

    List<UClientHistoryUserVo> getHistoryByUser(@Param("userId") Long userId);
}
