From 927ce822017ff8459be84b742d519970ca614096 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期五, 24 十月 2025 17:18:56 +0800
Subject: [PATCH] 1
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs"
index 7032f8e..5ea5cb1 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs"
@@ -625,6 +625,11 @@
return await _db.InsertNav(Entity).IncludesAllFirstLayer().ExecuteCommandAsync();
}
+ public async Task<bool> AddDataNavAsync(List<TEntity> Entity)
+ {
+ return await _db.InsertNav(Entity).IncludesAllFirstLayer().ExecuteCommandAsync();
+ }
+
public Task<int> AddDataAsync(List<TEntity> listEntity)
{
IInsertable<TEntity> insert = _db.Insertable(listEntity);
@@ -893,6 +898,11 @@
return _db.UpdateNav(Entity).IncludesAllFirstLayer().ExecuteCommand();
}
+ public bool UpdateDataNav(List<TEntity> Entity)
+ {
+ return _db.UpdateNav(Entity).IncludesAllFirstLayer().ExecuteCommand();
+ }
+
public bool DeleteAndMoveIntoHty(TEntity entity, OperateTypeEnum operateType)
{
Type type = entity.GetType();
--
Gitblit v1.9.3