From 581110a3dfb2882de66795047dd4a9f248d33176 Mon Sep 17 00:00:00 2001 From: chengsc <Demo@DESKTOP-CPA90BF> Date: 星期四, 15 八月 2024 13:21:15 +0800 Subject: [PATCH] 修改测试问题,添加托盘上架信息 --- Wms/WMS.IDAL/IBaseRepository.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Wms/WMS.IDAL/IBaseRepository.cs b/Wms/WMS.IDAL/IBaseRepository.cs index e144ee5..c423e3f 100644 --- a/Wms/WMS.IDAL/IBaseRepository.cs +++ b/Wms/WMS.IDAL/IBaseRepository.cs @@ -28,8 +28,8 @@ Task SaveAsync(); - ISugarQueryable<T> GetAllAsync(); - + ISugarQueryable<T> GetAll(); + Task<List<T>> GetAllAsync(); T GetOneById(int id); Task<T> GetOneByIdAsync(int id); @@ -37,9 +37,9 @@ 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