From 176106cf1be8bb0dfd9921180b26d7cc9efb7a3d Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 16 十二月 2024 08:52:39 +0800 Subject: [PATCH] 外协付款申请功能 --- CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderExtendDAL.cs | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderExtendDAL.cs b/CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderExtendDAL.cs index 0759fca..a4a0cc6 100644 --- a/CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderExtendDAL.cs +++ b/CY_ECommercePlatform/CY.SQLDAL/EC/EC_OrderExtendDAL.cs @@ -97,6 +97,7 @@ delayTime, new SqlParameter("@Productionprogress",trueModel.Productionprogress), new SqlParameter("@PrintPackDeliveryRequir",trueModel.PrintPackDeliveryRequir), + new SqlParameter("@printunit",trueModel.printunit) }; int i = -1; @@ -158,6 +159,7 @@ new SqlParameter("@NumPerBag",trueModel.NumPerBag), new SqlParameter("@BagNum",trueModel.BagNum), new SqlParameter("@PrintPackDeliveryRequir",trueModel.PrintPackDeliveryRequir), + new SqlParameter("@printunit",trueModel.printunit) }; try { @@ -354,6 +356,31 @@ } } + + /// <summary> + /// 鏇存柊璁㈠崟鎵╁睍琛ㄥ墿浣欏嵃鍒锋暟閲� + /// </summary> + /// <param name="Keyid"></param> + /// <param name="SurplusPrintNum"></param> + /// <param name="Operator"></param> + /// <returns></returns> + public bool UpSurplusPrintNumsql(int? Keyid, int? SurplusPrintNum, string Operator) + { + + try + { + var sqlStr = "UPDATE [EC_OrderExtend] SET [SurplusPrintNum]=[PrintNum] WHERE Keyid=@Keyid "; + SqlParameter par = new SqlParameter("@Keyid", Keyid); + _dataBase.ExecuteSql(sqlStr, par); + + return true; + } + catch (Exception ex) + { + throw ex; + } + } + public bool UpdateModel(Infrastructure.Domain.IAggregateRoot model) { throw new NotImplementedException(); -- Gitblit v1.9.1