From ca424cab536123305b3224a8d2ea5f507ff480f0 Mon Sep 17 00:00:00 2001
From: yaozc <unbelievers@yeah.net>
Date: Tue, 31 Jan 2023 09:38:37 +0000
Subject: [PATCH] BUG修改
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SystemSettingRepository.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SystemSettingRepository.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SystemSettingRepository.java
index 29b12f8..4d29707 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SystemSettingRepository.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SystemSettingRepository.java
@@ -18,6 +18,9 @@
import me.zhengjie.modules.system.domain.SystemSetting;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+import org.springframework.data.jpa.repository.Query;
+
+import java.sql.Timestamp;
/**
* @website https://eladmin.vip
@@ -25,4 +28,11 @@
* @date 2023-01-30
**/
public interface SystemSettingRepository extends JpaRepository<SystemSetting, Long>, JpaSpecificationExecutor<SystemSetting> {
+
+ /**
+ * 根据标题查询公司(导出用)
+ * @return
+ */
+ @Query
+ SystemSetting findByLabel(String lable);
}
\ No newline at end of file
--
Gitblit v1.9.3