From 3cd8155ca18929a35a272fa036a527bc7569ec11 Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 10 Nov 2026 01:11:16 +0000
Subject: [PATCH] 暂时关闭工资内漫剧结算,确认后开启

---
 eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SysUserLevelOtherRepository.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SysUserLevelOtherRepository.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SysUserLevelOtherRepository.java
index 03f40c3..00a41b0 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SysUserLevelOtherRepository.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/SysUserLevelOtherRepository.java
@@ -73,10 +73,9 @@
      * 查询级别其他(新)
      * @param userId
      * @param targetDate
-     * @param nextYear
      * @return
      */
-    @Query(value = "SELECT * FROM sys_user_level_other WHERE user_id = ?1 AND `year_month` >= ?2 AND `year_month` < ?3  ORDER BY `year_month` DESC LIMIT 1", nativeQuery = true)
-    SysUserLevelOther findByUserIdAndData(Long userId, String targetDate, String nextYear);
+    @Query(value = "SELECT * FROM sys_user_level_other WHERE user_id = ?1 AND `year_month` <= ?2 ORDER BY `year_month` DESC LIMIT 1", nativeQuery = true)
+    SysUserLevelOther findByUserIdAndData(Long userId, String targetDate);
 
 }
\ No newline at end of file

--
Gitblit v1.9.3