From 14f9c8378bde7d9a8d8f1fcc393e0e8d49eced82 Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周五, 09 5月 2025 17:44:29 +0800 Subject: [PATCH] 查找空库位,查找库存 --- HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs | 21 +-------------------- 1 files changed, 1 insertions(+), 20 deletions(-) diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs index 188e480..fcc707e 100644 --- a/HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs +++ b/HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs @@ -37,7 +37,7 @@ /// <summary> /// 鍚敤鎺堟潈 /// </summary> - public override bool AuthRequired => true; + public override bool AuthRequired => false; /// <summary> /// Initializes a new instance of the <see cref="HIAWmsProjectService"/> class. @@ -160,25 +160,6 @@ // await uow.SaveChangesAsync(); _logger.LogInformation($"ProcessAsync锛孋ount={count}"); - } - - /// <summary> - /// Executes the external API. - /// </summary> - private async Task ExecuteExternalApiAsync() - { - try - { - await _serviceProvider.GetRequiredService<IHIAWmsExternalApi>().CreateAsync(new WmsContainerCreateDto - { - Name = "WmsContainer_Name", - Code = "WmsContainer_Code", - }); - } - catch (Exception e) - { - _logger.LogException(e); - } } } } -- Gitblit v1.9.3