接口, 出库,任务下发

This commit is contained in:
zgf committed 2023-09-05 00:47:02 +08:00
1 parent f5423e78fe
commit 5c13b2a85c
38 files changed
+22919 -115

No files matched your search

+2 -1
View File
@@ -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