From 6ac4b8a2fcd1043bc66f53bdf28c9ee00b8a57d0 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期一, 26 八月 2024 08:33:17 +0800
Subject: [PATCH] 删除盘点修改
---
Wms/WMS.IDAL/IBaseRepository.cs | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/Wms/WMS.IDAL/IBaseRepository.cs b/Wms/WMS.IDAL/IBaseRepository.cs
index e144ee5..efd36af 100644
--- a/Wms/WMS.IDAL/IBaseRepository.cs
+++ b/Wms/WMS.IDAL/IBaseRepository.cs
@@ -28,18 +28,19 @@
Task SaveAsync();
- ISugarQueryable<T> GetAllAsync();
-
+ ISugarQueryable<T> GetAll();
+ Task<List<T>> GetAllAsync();
T GetOneById(int id);
Task<T> GetOneByIdAsync(int id);
+ Task<T> GetOneByIdAsync1(int id);
List<T> GetModels(string sqlString);
T GetModel(string sqlString);
- ISugarQueryable<T> GetAllWhereAsync(Expression<Func<T, bool>> predicate);
- ISugarQueryable<T> GeTAllByPageAsync(Expression<Func<T, bool>> predicate,int pageSize,int pageIndex, out int count);
- ISugarQueryable<T> GetAllByOrderAsync(Expression<Func<T, bool>> predicate, bool asc = true);
- ISugarQueryable<T> GetAllByOrderPageAsync(Expression<Func<T, bool>> predicate, int pageSize , int pageIndex , out int count,bool asc = true);
+ ISugarQueryable<T> GetAllWhere(Expression<Func<T, bool>> predicate);
+ ISugarQueryable<T> GeTAllByPage(Expression<Func<T, bool>> predicate,int pageSize,int pageIndex, out int count);
+ ISugarQueryable<T> GetAllByOrder(Expression<Func<T, bool>> predicate, bool asc = true);
+ ISugarQueryable<T> GetAllByOrderPage(Expression<Func<T, bool>> predicate, int pageSize , int pageIndex , out int count,bool asc = true);
}
}
--
Gitblit v1.8.0