package com.huigou.topsun.base.checkPassword.controller;

import com.huigou.uasp.log.domain.model.HistoricSession;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * Created by LX on 2020/5/18.
 */
public interface HisSessionRepository extends JpaRepository<HistoricSession, String>, JpaSpecificationExecutor<HistoricSession> {
    List<HistoricSession> findByLogoutPersonMemeberId(String personId);

    List<HistoricSession> findByLoginName(String loginCode);
}
