项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundController.cs
@@ -40,10 +40,14 @@ } } object lockObj = new object(); [HttpPost, Route("CompleteOutboundWithBarcode"), AllowAnonymous] public WebResponseContent CompleteOutboundWithBarcode([FromBody] OutboundCompleteRequestDTO request) { try { lock (lockObj) { if (!ModelState.IsValid) return WebResponseContent.Instance.Error(string.Join("; ", ModelState.Values @@ -52,6 +56,7 @@ return _outboundService.CompleteOutboundWithBarcode(request); } } catch (Exception ex) { return WebResponseContent.Instance.Error($"鍑哄簱鎵弿鎿嶄綔澶辫触: {ex.Message}");