UserRepository.java 325 Bytes
package com.xkl.repository;

import com.xkl.domain.User;
import org.springframework.data.repository.CrudRepository;

/**
 * User类的CRUD操作
 * @see com.xkl.domain.User
 */
public interface UserRepository extends CrudRepository<User, Long> {
    public User findByLoginAccountAndStatus(String username,boolean status);
}