package me.zhengjie.modules.system.repository;

import java.util.Set;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import me.zhengjie.modules.system.domain.UserFtp;

public interface UserFtpRepository extends JpaRepository<UserFtp, Long>, JpaSpecificationExecutor<UserFtp> {
        /**
         * 根据人员ID查询
         * 
         * @param userId 人员ID
         * @return /
         */
        UserFtp findByUserId(String userId);

        /**
         * 根据Id删除
         * 
         * @param ids /
         */
        void deleteAllByIdIn(Set<Long> ids);
}
