package fastweb.respository.userType;


import fastweb.domain.usertype.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 学生表的增删改查
 */
public interface UserRepository extends JpaRepository<User,String>, JpaSpecificationExecutor<User> {

    /**
     * 通过用户名获取用户
     * @param account
     * @return
     */
    User findDistinctByAccount(String account);


}
