package com.crm.activity.dao.repository;

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

import java.util.List;

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

    CustomLoginAssetManagementTable findFirstByLogin(Long login);

    List<CustomLoginAssetManagementTable> findAllByCustomId(Long customId);

}
