647556386
3 天以前 696edbff3c8812e4b820f624d66a02ae6ddb1a06
项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs
@@ -11,6 +11,7 @@
using System.IO;
using WIDESEA_Model.Models;
using System;
using WIDESEA_IBasicService;
namespace WIDESEA_WMSServer.Controllers
{
@@ -24,12 +25,14 @@
        private readonly IInboundService _inboundService;
        private readonly IOutboundService _outboundService;
        private readonly ITaskService _taskService;
        private readonly IErpApiService _erpApiService;
        public PDAController(ITaskService taskService, IInboundService inboundService, IOutboundService outboundService)
        public PDAController(ITaskService taskService, IInboundService inboundService, IOutboundService outboundService,IErpApiService erpApiService)
        {
            _inboundService = inboundService;
            _outboundService = outboundService;
            _taskService = taskService;
            _erpApiService = erpApiService;
        }
        /// <summary>
@@ -109,5 +112,11 @@
            }
        }
        [HttpPost, HttpGet, Route("GetMaterialUnitAsync"), AllowAnonymous]
        public Task GetMaterialUnitAsync()
        {
            return _erpApiService.GetMaterialUnitAsync();
        }
    }
}