From f1b2ef9600a038008e11b151a5cb7cffab336be5 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 28 二月 2025 09:26:26 +0800 Subject: [PATCH] 把这个我们政财里面有个常用资料,常用资料有通讯录和账号密码。把这个也放到川一头去,川饮也需要这个东西,就放在川渝的行政管理好行政管理里面。你二级栏目就是常用资料。 --- CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs b/CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs index e4d3e5a..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 { @@ -91,11 +93,21 @@ { return false; } + + SqlParameter SuppliersId = null; + if (trueModel.SuppliersId.HasValue) + { + SuppliersId = new SqlParameter("@SuppliersId", trueModel.SuppliersId); + } + else + { + SuppliersId = new SqlParameter("@SuppliersId", DBNull.Value); + } IList<SqlParameter> sqlParms = new List<SqlParameter>() { new SqlParameter("@Keyid",trueModel.Keyid), new SqlParameter("@FirmId",trueModel.FirmId), - new SqlParameter("@SuppliersId",trueModel.SuppliersId), + SuppliersId, new SqlParameter("@GoodsId",trueModel.GoodsId), new SqlParameter("@ClearingStatusId",trueModel.ClearingStatusId), new SqlParameter("@Price",trueModel.Price), -- Gitblit v1.9.1