From 70041775f6292fe60f9b4f0cc0ea8dd2f719cafe Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期一, 02 十二月 2024 16:32:31 +0800
Subject: [PATCH] 增加资产表字段

---
 Service/HStation.Service.Assets.Core/04-dal/02-postgresql/01-PumpMain/PumpPart.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/04-dal/02-postgresql/01-PumpMain/PumpPart.cs b/Service/HStation.Service.Assets.Core/04-dal/02-postgresql/01-PumpMain/PumpPart.cs
index cb2cea2..7b965ae 100644
--- a/Service/HStation.Service.Assets.Core/04-dal/02-postgresql/01-PumpMain/PumpPart.cs
+++ b/Service/HStation.Service.Assets.Core/04-dal/02-postgresql/01-PumpMain/PumpPart.cs
@@ -16,7 +16,7 @@
         }
 
         //鎻掑叆鎷撳睍
-        public long InsertsEx(Entity.AssetsPumpPartMain part, List<Entity.AssetsPumpPropContent> AssetsPumpPropContents, Entity.AssetsPumpMainAndPartMap partmap)
+        public long InsertsEx(Entity.AssetsPumpPartMain part, List<Entity.AssetsPumpPropContent> AssetsPumpPropContents, Entity.AssetsPumpMainAndPartMapping partmap)
         {
             if (part == null)
             {
@@ -37,7 +37,7 @@
                     {
                         if (partmap != null)
                         {
-                            partmap.PumpPartID = result;
+                            partmap.PartID = result;
                             var mainandpartmap = db.Insertable(partmap).ExecuteReturnSnowflakeId();
                             if (mainandpartmap < 0)
                             {

--
Gitblit v1.9.3