| | |
| | | using WIDESEA_Model.Models; |
| | | using WIDESEA_Model.Models.Order; |
| | | using WIDESEA_OrderRepository; |
| | | using WIDESEA_StorageTaskServices; |
| | | |
| | | namespace WIDESEA_OrderServices |
| | | { |
| | |
| | | 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) |
| | |
| | | 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; |
| | | } |
| | | } |
| | | } |
| | | } |