From 95c92db3c831c73b05068b09221c13ad4a250322 Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期一, 02 二月 2026 20:07:00 +0800
Subject: [PATCH] 条码扫描成功音频播放功能,代码优化
---
项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs"
index 7fedc9b..425e555 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs"
@@ -21,14 +21,20 @@
{
}
-
- [HttpGet("getOutStockLockInfo")]
- public async Task<WebResponseContent> GetOutStockLockInfo(string orderDetailId)
+
+ [HttpGet("getOutStockLockInfo")]
+ public async Task<WebResponseContent> GetOutStockLockInfo(string orderDetailId)
{
var list = await Service.GetByOrderDetailId(orderDetailId.ObjToInt());
return WebResponseContent.Instance.OK(null, list);
}
+ [HttpPost, HttpGet, Route("GetByOrderDetailId"), AllowAnonymous]
+ public List<Dt_OutStockLockInfo> GetByOrderDetailId(int orderDetailId)
+ {
+ return Service.GetByOrderDetailId(orderDetailId, null);
+ }
+
}
}
--
Gitblit v1.9.3