From ce1292c9cf37195b6abd2699dfc5d6cb3e143c9b Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期日, 12 四月 2026 23:38:19 +0800
Subject: [PATCH] feat(MES): 添加MES接口相关实体和DTO JS扩展文件至JSX格式并更新配置
---
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