package com.ai.da.mapper.primary;

import com.ai.da.common.config.mybatis.plus.CommonMapper;
import com.ai.da.mapper.primary.entity.Account;

import java.util.List;

/**
 * Mapper 接口
 *
 * @author easy-generator
 * @since 2022-06-13
 */
public interface AccountMapper extends CommonMapper<Account> {

    /**
     * 手机号批量查询
     *
     * @param phoneList
     * @return
     */
    List<Account> findByPhoneList(List<String> phoneList);

    /**
     * 主键查询
     *
     * @param id
     * @return
     */
    Account findById(String id);

}
