From 2ec78835e454cecb95e48a2be2cb0b8393674ec5 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期二, 31 三月 2026 10:27:16 +0800
Subject: [PATCH] fix(Sys_Dictionary): 修复数字字典中文映射

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs |   27 +++++++++++++++++++++------
 1 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs
index c22ec14..9b680e7 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs
@@ -1,12 +1,7 @@
 锘縰sing Microsoft.Data.SqlClient;
 using SqlSugar;
-using System;
-using System.Collections.Generic;
 using System.Data;
-using System.Linq;
 using System.Linq.Expressions;
-using System.Text;
-using System.Threading.Tasks;
 using WIDESEA_Core.Enums;
 
 namespace WIDESEA_Core.BaseRepository
@@ -17,6 +12,7 @@
         /// SqlsugarClient瀹炰綋
         /// </summary>
         ISqlSugarClient Db { get; }
+
         /// <summary>
         /// 閫氳繃涓婚敭鏌ヨ鏁版嵁
         /// </summary>
@@ -373,7 +369,6 @@
          Expression<Func<T2, bool>> whereExpressionT2,
          Expression<Func<TResult, bool>> whereExpression);
 
-
         Task<List<TResult>> QueryTabsAsync<T, T2, TResult>(
             Expression<Func<T, T2, object[]>> joinExpression,
             Expression<Func<T, T2, TResult>> selectExpression,
@@ -428,5 +423,25 @@
         //    Expression<Func<T, T2, T3, TResult>> selectExpression,
         //    Expression<Func<T, T2, T3, bool>> whereLambda = null) where T : class, new();
         //Task<PageModel<TEntity>> QueryPage(PaginationModel pagination);
+
+        /// <summary>
+        /// 鑾峰彇浠诲姟缂栧彿
+        /// </summary>
+        /// <returns></returns>
+        Task<int> GetTaskNo();
+
+        /// <summary>
+        /// 瀵艰埅鏌ヨ鎵�鏈夋暟鎹�
+        /// </summary>
+        /// <param name="whereExpression"></param>
+        /// <returns></returns>
+        Task<List<TEntity>> QueryDataNavAsync(Expression<Func<TEntity, bool>> whereExpression);
+
+        /// <summary>
+        /// 瀵艰埅鏌ヨ鍗曟潯鏁版嵁
+        /// </summary>
+        /// <param name="whereExpression"></param>
+        /// <returns></returns>
+        Task<TEntity> QueryDataNavFirstAsync(Expression<Func<TEntity, bool>> whereExpression);
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3