package com.crm.activity.dao.repository;

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

import java.util.List;

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

    CustomLoginFirmOfferTable findFirstByLogin(Long login);

    List<CustomLoginFirmOfferTable> findAllByCustomId(Long customId);
}
