wangxinhui
19 小时以前 39d468b76e60c05ffcdf749f7ed1d3c443d542f8
项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs
@@ -16,6 +16,7 @@
using WIDESEA_IBasicRepository;
using WIDESEA_IBasicService;
using WIDESEA_IInboundService;
using WIDESEA_IOutboundService;
using WIDESEA_Model.Models;
namespace WIDESEA_WMSServer.Controllers.ERP
@@ -30,12 +31,14 @@
        private readonly IBasicService _basicService;
        private readonly IInvokeERPService _invokeERPService;
        private readonly IInboundService _inboundService;
        private readonly IProDeliveryOrderService _proDeliveryOrderService;
        public ErpController(IBasicService basicService,IInvokeERPService invokeERPService, IInboundService inboundService)
        public ErpController(IBasicService basicService,IInvokeERPService invokeERPService, IInboundService inboundService, IProDeliveryOrderService proDeliveryOrderService)
        {
            _basicService = basicService;
            _invokeERPService = invokeERPService;
            _inboundService = inboundService;
            _proDeliveryOrderService = proDeliveryOrderService;
        }
        /// <summary>
        /// 娣诲姞浜屾湡鐗╂枡
@@ -109,7 +112,7 @@
        public WebResponseContent ProDeliveryOrder([FromBody] ERPRoot<ERPProDeliveryDTO> eRPRoot)
        {
            return _inboundService.PurchaseOrderService.ReceiveProDeliveryOrder(eRPRoot.Content);
            return _proDeliveryOrderService.ReceiveProDeliveryOrder(eRPRoot.Content);
        }
        /// <summary>