From c70b62ab991e3d67c7cccddc3e8e062971aa6ae3 Mon Sep 17 00:00:00 2001 From: 18942506660 <18942506660@A18942506660> Date: Thu, 18 Jan 2024 10:40:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WMS.Web.Api/Controllers/TestController.cs | 13 +++++++++++++ src/WMS.Web.Api/wwwroot/WMS.Web.Api.xml | 6 ++++++ 2 files changed, 19 insertions(+) diff --git a/src/WMS.Web.Api/Controllers/TestController.cs b/src/WMS.Web.Api/Controllers/TestController.cs index db3496cf..202b67e9 100644 --- a/src/WMS.Web.Api/Controllers/TestController.cs +++ b/src/WMS.Web.Api/Controllers/TestController.cs @@ -120,6 +120,19 @@ namespace WMS.Web.Api.Controllers return ""; } + /// + /// 手动同步老ops箱信息 + /// + /// + [HttpGet] + [Route("RefreshOpsBox")] + public async Task RefreshOpsBox() + { + if (!_env.IsDevelopment()) return ""; + var result = await _boxService.Sync(); + return ""; + } + [HttpGet] [Route("tf")] public async Task TestTF() diff --git a/src/WMS.Web.Api/wwwroot/WMS.Web.Api.xml b/src/WMS.Web.Api/wwwroot/WMS.Web.Api.xml index 21ee1e66..e6f164b1 100644 --- a/src/WMS.Web.Api/wwwroot/WMS.Web.Api.xml +++ b/src/WMS.Web.Api/wwwroot/WMS.Web.Api.xml @@ -579,6 +579,12 @@ + + + 手动同步老ops箱信息 + + + 根据物料Id获取物料编码