From a38870de9b168b1d2a74571de3f9f828057ae83a Mon Sep 17 00:00:00 2001 From: pho6e2qjw <1563847437@qq.com> Date: Tue, 25 Jun 2024 23:28:19 +0800 Subject: [PATCH] Add SysUserRepository.java --- SysUserRepository.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 SysUserRepository.java diff --git a/SysUserRepository.java b/SysUserRepository.java new file mode 100644 index 0000000..53484bd --- /dev/null +++ b/SysUserRepository.java @@ -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, JpaSpecificationExecutor { + SysUser findSysUserByUsername(String username); +} \ No newline at end of file