yangpeixing
12 小时以前 027b75833ae1bc3bd1bb597b18c65c9177fa62d4
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_OrderServices/Dt_InboundOrderService.cs
@@ -17,6 +17,7 @@
using WIDESEA_Model.Models;
using WIDESEA_Model.Models.Order;
using WIDESEA_OrderRepository;
using WIDESEA_StorageTaskServices;
namespace WIDESEA_OrderServices
{
@@ -25,15 +26,18 @@
        private readonly IUnitOfWorkManage _unitOfWorkManage;
        private readonly ISys_ConfigService _configService;
        private readonly IDt_WareAreaInfoRepository _wareAreaInfoRepository;
        private readonly PrintStatusContainer _printStatusContainer;
        public Dt_InboundOrderService(IDt_InboundOrderRepository BaseDal,
                                        IUnitOfWorkManage unitOfWorkManage,
                                        ISys_ConfigService configService,
                                        IDt_WareAreaInfoRepository wareAreaInfoRepository) : base(BaseDal)
                                        IDt_WareAreaInfoRepository wareAreaInfoRepository,
                                        PrintStatusContainer printStatusContainer) : base(BaseDal)
        {
            _unitOfWorkManage = unitOfWorkManage;
            _configService = configService;
            _wareAreaInfoRepository = wareAreaInfoRepository;
            _printStatusContainer = printStatusContainer;
        }
        public override WebResponseContent UpdateData(SaveModel saveModel)
@@ -274,5 +278,21 @@
            return JsonConvert.DeserializeObject<WebResponseContent>(result);
        }
        /// <summary>
        /// å¼€å¯è‡ªåŠ¨æ‰“å°
        /// </summary>
        /// <param name="AutomaticPrintStatus"></param>
        /// <exception cref="NotImplementedException"></exception>
        public void AutomaticPrint(string AutomaticPrintStatus)
        {
            if (AutomaticPrintStatus.Equals("false"))
            {
                _printStatusContainer.AutomaticPrint = false;
            }
            else
            {
                _printStatusContainer.AutomaticPrint = true;
            }
        }
    }
}