From 8439531c54ab0a6546b181b56c3f8065d1ace2e6 Mon Sep 17 00:00:00 2001 From: lihanbo Date: Fri, 18 Oct 2024 11:23:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4IService=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E7=BA=A6=E6=9D=9F=EF=BC=8C=E4=B8=8D=E5=86=8D=E5=BC=BA=E5=88=B6?= =?UTF-8?q?=E8=A6=81=E6=B1=82=E5=AE=9E=E7=8E=B0=E6=8E=A5=E5=8F=A3=EF=BC=8C?= =?UTF-8?q?=E7=94=B1=E5=90=84=E6=A8=A1=E5=9D=97=E8=87=AA=E8=A1=8C=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LFlow.Base/Interfaces/IService.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/LFlow.Base/Interfaces/IService.cs b/LFlow.Base/Interfaces/IService.cs index 9df561d..ec87f50 100644 --- a/LFlow.Base/Interfaces/IService.cs +++ b/LFlow.Base/Interfaces/IService.cs @@ -1,17 +1,9 @@ -using LFlow.Base.Utils; - namespace LFlow.Base.Interfaces; /// /// ·þÎñ½Ó¿Ú /// /// -public interface IService where T : class, IModel, new() +public interface IService// where T : class, IModel, new() { - T GetById(string id); - List Search(T whereObj); - int DeleteById(string id); - T Save(T entity, bool isUpdate); - - PagedApiResult> GetAll(int pageIndex, int pageSize); }