package com.crm.activity.dao.mapper;

import com.crm.rely.backend.model.pojo.view.AccountInfoView;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 交易账户
 *
 * @author y
 * @create 2022/7/21
 */
@Component
public interface AccountInfoMapper {

    AccountInfoView findByLogin(@Param("login") Long login, @Param("platform") String platform);

    List<AccountInfoView> findAllByLoginIn(@Param("logins") List<Long> logins, @Param("platform") String platform);

}
