package com.YuyeTech.HeartRate.sys.sysuserauthority.repository;

import com.YuyeTech.HeartRate.common.repository.CommonRepository;
import com.YuyeTech.HeartRate.sys.sysuserauthority.pojo.SysUserAuthority;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysUserAuthorityRepository extends CommonRepository<SysUserAuthority, String> {
    List<SysUserAuthority> findByUserId(String userId);
}
