package com.rj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rj.entity.LbUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LbUserMapper extends BaseMapper<LbUser> {

    /**
     * 按用户 id 批量 upsert（同步外部用户数据）。
     */
    int upsertBatch(@Param("list") List<LbUser> list);
}
