导入导出

This commit is contained in:
2026-01-08 12:16:16 +08:00
parent 912ddae8c5
commit 67a8fc5b27

View File

@@ -300,7 +300,7 @@ namespace DOAN.Service.BZFM
var x = Context
.Storageable(materialList)
.SplitInsert(it => !it.Any())
.WhereColumns(it => new { it.Id, it.MaterialCode }) //如果不是主键可以这样实现多字段it=>new{it.x1,it.x2}
.WhereColumns(it => it.Id) //如果不是主键可以这样实现多字段it=>new{it.x1,it.x2}
.ToStorage();
var result = x.AsInsertable.ExecuteCommand(); //插入可插入部分;