package com.crm.activity.dao.repository;

import com.crm.rely.backend.dao.repository.BaseRepository;
import com.crm.rely.backend.model.pojo.table.CustomLoginTable;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author y
 * @create 2022/7/21
 */
@Repository
public interface CustomLoginRepository extends BaseRepository<CustomLoginTable> {

    CustomLoginTable findFirstByLogin(Long login);

    List<CustomLoginTable> findAllByCustomId(Long customId);
}
