仓库-物料Excel导入修改

This commit is contained in:
2024-04-28 23:12:08 +08:00
parent 88c342751e
commit a5ff6f019b
2 changed files with 10 additions and 4 deletions

View File

@@ -128,7 +128,8 @@ namespace ZR.Service.mes.wms
return (-1,-1);
}
var x=Context.Storageable(materials)
.WhereColumns(it => it.BlankNum).ToStorage();
.WhereColumns(it => it.Id)
.ToStorage();
int insert= x.AsInsertable.ExecuteCommand(); //执行插入
int update= x.AsUpdateable.ExecuteCommand(); //执行更新