package com.cyksj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyksj.model.entity.UserIpRecord;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 项目名: yhlxj2
 * 文件名: UserIpRecordMapper
 * 创建者: JavaZou
 * 创建时间:2024/9/6 17:29
 */
public interface UserIpRecordMapper extends BaseMapper<UserIpRecord> {

	@Select("select ip from user_ip_record where user_id = #{userId}")
	List<String> getUserIpList(Long userId);
}
