From f0bf62f51e6ce2f27c870c240bf0884d83d92dd4 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期日, 16 十月 2022 01:34:49 +0800
Subject: [PATCH] 产能规划提交报错

---
 VueWebApi/DLL/DAL/ProductModelDAL.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/VueWebApi/DLL/DAL/ProductModelDAL.cs b/VueWebApi/DLL/DAL/ProductModelDAL.cs
index e0762fe..45b3ce0 100644
--- a/VueWebApi/DLL/DAL/ProductModelDAL.cs
+++ b/VueWebApi/DLL/DAL/ProductModelDAL.cs
@@ -986,12 +986,12 @@
                         str = sql,
                         parm = new
                         {
-                            id = bomid,
+                            bomid = bomid,
                             materiel_code = parentpartcode,
                             quantity = quantity,
                             status = status,
-                            username = username,
-                            CreateDate = DateTime.Now.ToString()
+                            lm_user = username,
+                            lm_date = DateTime.Now.ToString()
                         }
                     });
                     //鍒犻櫎BOM瀛愯〃
@@ -1001,7 +1001,7 @@
                         str = sql,
                         parm = new
                         {
-                            id = bomid
+                            bomid = bomid
                         }
                     });
                     //鍐欏叆BOM瀛愯〃

--
Gitblit v1.9.3