From 2aef482fa7431fb47eef94081ff23ec220f89820 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期五, 24 一月 2025 09:10:31 +0800 Subject: [PATCH] 1 --- WIDESEAWCS_Server/WIDESEAWCS_Core/BaseRepository/IRepository.cs | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Core/BaseRepository/IRepository.cs b/WIDESEAWCS_Server/WIDESEAWCS_Core/BaseRepository/IRepository.cs index f7bfa06..9b74e22 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_Core/BaseRepository/IRepository.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_Core/BaseRepository/IRepository.cs @@ -7,6 +7,7 @@ using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; +using WIDESEAWCS_Core.Enums; namespace WIDESEAWCS_Core.BaseRepository { @@ -356,6 +357,7 @@ List<TResult> QueryTabs<T, T2, TResult>( Expression<Func<T, T2, object[]>> joinExpression, Expression<Func<T, T2, TResult>> selectExpression, + Expression<Func<T,T2, bool>> whereExpressionT1, Expression<Func<TResult, bool>> whereExpression); Task<List<TResult>> QueryTabsAsync<T, T2, TResult>( @@ -407,11 +409,8 @@ int pageSize = 20, string? orderByFields = null); + bool DeleteAndMoveIntoHty(TEntity entity, OperateTypeEnum operateType); - //List<TResult> QueryMuch<T, T2, T3, TResult>( - // Expression<Func<T, T2, T3, object[]>> joinExpression, - // 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); + bool DeleteAndMoveIntoHty(List<TEntity> entities, OperateTypeEnum operateType); } } -- Gitblit v1.9.3