数据库变更CNPC_XJYJ

This commit is contained in:
2025-08-04 18:04:41 +08:00
parent bafbf97359
commit 79a7f35e22
679 changed files with 5590 additions and 3465 deletions
@@ -28,7 +28,7 @@ namespace BLL
/// <param name="specifications"></param>
public static void AddUnitStore(Model.Weld_UnitStore unitStore)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Weld_UnitStore newUnitStore = new Model.Weld_UnitStore();
newUnitStore.UnitStoreId = unitStore.UnitStoreId;
newUnitStore.ProjectId = unitStore.ProjectId;
@@ -46,7 +46,7 @@ namespace BLL
/// <param name="unitStore"></param>
public static void UpdateUnitStore(Model.Weld_UnitStore unitStore)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Weld_UnitStore newUnitStore = db.Weld_UnitStore.FirstOrDefault(e => e.UnitStoreId == unitStore.UnitStoreId);
if (newUnitStore != null)
{
@@ -65,7 +65,7 @@ namespace BLL
/// <param name="unitStoreId"></param>
public static void DeleteUnitStoreById(string unitStoreId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Weld_UnitStore delUnitStore = db.Weld_UnitStore.FirstOrDefault(e => e.UnitStoreId == unitStoreId);
if (delUnitStore != null)
{