From e48f52f2b3b6794199dee3bc1c2fcbe4671178a6 Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 04 Nov 2025 04:09:55 +0000
Subject: [PATCH] 退回的调休假数额未能正确返回调休BUG修改
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/DictDetailRepository.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/DictDetailRepository.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/DictDetailRepository.java
index 850e01d..1ec1f3f 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/DictDetailRepository.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/DictDetailRepository.java
@@ -18,6 +18,7 @@
import me.zhengjie.modules.system.domain.DictDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+import org.springframework.data.jpa.repository.Query;
import java.util.List;
@@ -41,4 +42,12 @@
* @return
*/
DictDetail findByDictNameAndValue(String name, String value);
+
+ /**
+ * 根据字典value查询
+ * @param
+ * @param
+ */
+ @Query(value = "SELECT * FROM `sys_dict_detail` where value = ?", nativeQuery = true)
+ DictDetail seleteByValue(String value);
}
\ No newline at end of file
--
Gitblit v1.9.3