parent
5b2d7ecd3d
commit
a38870de9b
@ -0,0 +1,12 @@
|
||||
//SysUser.java的接口
|
||||
package com.power.travel.repository;
|
||||
|
||||
import com.power.travel.model.SysUser;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface SysUserRepository extends JpaRepository<SysUser, Integer>, JpaSpecificationExecutor<SysUser> {
|
||||
SysUser findSysUserByUsername(String username);
|
||||
}
|
Loading…
Reference in new issue