From 0fb5eab0d6787922d3e915543e95fe5073d767ff Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 13 三月 2025 08:48:13 +0800
Subject: [PATCH] 派了车就不能再派车了   派车的时候选择新的送货时间和填写注意事项  完成

---
 CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs b/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs
index 45cc514..da944f6 100644
--- a/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs
+++ b/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs
@@ -66,7 +66,9 @@
                     new SqlParameter("@PaperWeightId",trueModel.PaperWeightId),
             	    new SqlParameter("@tanPrice",trueModel.TanPrice??0),
                     new SqlParameter("@ReceiveMoney",decimal.Parse("0")),
-                    new SqlParameter("@Commodityid",trueModel.Commodityid)
+                    new SqlParameter("@Commodityid",trueModel.Commodityid),
+                     new SqlParameter("@orderId",trueModel.orderId.HasValue?trueModel.orderId.Value:0),
+                      new SqlParameter("@DocumentName",string.IsNullOrEmpty(trueModel.DocumentName)?"":trueModel.DocumentName)
             };
             try
             {

--
Gitblit v1.9.1