package com.sckw.user.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.user.entity.KwBusinessUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * @desc:
 * @author: Lt
 * @date: 2024-05-22
 */
@Mapper
@DS("user")
public interface UserMapper extends BaseMapper<KwBusinessUser> {

    /**
     * 查询 根据主键 id 查询
     * @author Lt
     * @date 2024/05/22
     **/
    KwBusinessUser load(String id);
    KwBusinessUser selectOneByTenantId(String tenantId);
}
