接口, 出库,任务下发
This commit is contained in:
1 parent
f5423e78fe
commit
5c13b2a85c
38 files changed
+22919
-115
No files matched your search
@@ -144,7 +144,8 @@ namespace HHWMS.Web
|
||||
|
||||
public int Delete<T>(T entity) where T : class
|
||||
{
|
||||
return _data.Set<T>().DeleteByKey(entity);
|
||||
_data.Set<T>().Remove(entity);
|
||||
return _data.SaveChanges();
|
||||
}
|
||||
|
||||
public int BatchDelete<T>(Expression<Func<T, bool>> where) where T : class
|
||||
|
||||
Reference in new issue
Block a user