修改实业

This commit is contained in:
2023-03-10 10:23:33 +08:00
parent e78f7c64e6
commit ec02fe24aa
10 changed files with 66 additions and 4 deletions
+2
View File
@@ -104,6 +104,7 @@ namespace BLL
FactoryCode = newtable.FactoryCode,
FactoryName = newtable.FactoryName,
Address = newtable.Address,
MapCoordinates= newtable.MapCoordinates,
};
db.Base_Factory.InsertOnSubmit(table);
db.SubmitChanges();
@@ -128,6 +129,7 @@ namespace BLL
table.FactoryCode = newtable.FactoryCode;
table.FactoryName = newtable.FactoryName;
table.Address = newtable.Address;
table.MapCoordinates = newtable.MapCoordinates;
db.SubmitChanges();
}