username@email.com
2025-01-03 58758cab891e0a1cbe060f2ce8fda0805cdfc99a
CY_ECommercePlatform/CY.SQLDAL/OA/OA_ProcurementDAL.cs
@@ -91,11 +91,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),