From 1181f9f764b14abd6e9f598f89f8507b4bbfad0d Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 09 三月 2026 09:47:10 +0800
Subject: [PATCH] 设置登录默认值;添加数据传输对象;更新服务器作业

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs |   21 +++++++++++++++------
 1 files changed, 15 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 25931e9..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,
@@ -434,5 +429,19 @@
         /// </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