|
@@ -1,17 +1,19 @@
|
|
-package cn.com.qmth.examcloud.core.basic.dao;
|
|
|
|
-
|
|
|
|
-import org.springframework.data.jpa.repository.JpaRepository;
|
|
|
|
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
|
|
|
-import org.springframework.data.repository.query.QueryByExampleExecutor;
|
|
|
|
-
|
|
|
|
-import cn.com.qmth.examcloud.core.basic.dao.entity.PrivilegeGroupEntity;
|
|
|
|
-
|
|
|
|
-public interface PrivilegeGroupRepo
|
|
|
|
- extends
|
|
|
|
- JpaRepository<PrivilegeGroupEntity, Long>,
|
|
|
|
- QueryByExampleExecutor<PrivilegeGroupEntity>,
|
|
|
|
- JpaSpecificationExecutor<PrivilegeGroupEntity> {
|
|
|
|
-
|
|
|
|
- PrivilegeGroupEntity findByCode(String code);
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
|
|
+package cn.com.qmth.examcloud.core.basic.dao;
|
|
|
|
+
|
|
|
|
+import org.springframework.data.jpa.repository.JpaRepository;
|
|
|
|
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
|
|
|
+import org.springframework.data.repository.query.QueryByExampleExecutor;
|
|
|
|
+
|
|
|
|
+import cn.com.qmth.examcloud.core.basic.dao.entity.PrivilegeGroupEntity;
|
|
|
|
+
|
|
|
|
+public interface PrivilegeGroupRepo
|
|
|
|
+ extends
|
|
|
|
+ JpaRepository<PrivilegeGroupEntity, Long>,
|
|
|
|
+ QueryByExampleExecutor<PrivilegeGroupEntity>,
|
|
|
|
+ JpaSpecificationExecutor<PrivilegeGroupEntity> {
|
|
|
|
+
|
|
|
|
+ PrivilegeGroupEntity findByCode(String code);
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|