定时器执行

This commit is contained in:
18942506660
2024-10-21 10:24:56 +08:00
parent c7134674e3
commit 2b56446765
4 changed files with 70 additions and 4 deletions

View File

@@ -34,16 +34,16 @@ namespace WMS.Web.Api.Controllers
private readonly IProductInventoryRepositories _repositories;
private readonly QiniuOptions _option;
private readonly IExportExcelService _exportExcelService;
private readonly IProductInventoryService _roductInventoryService;
private readonly IProductInventoryService _productInventoryService;
public ProductInventoryController(ILoginService loginService, IBasicsRepositories basicsRepositories,
IProductInventoryRepositories repositories, IOptions<QiniuOptions> option,
IExportExcelService exportExcelServic, IProductInventoryService roductInventoryService) {
IExportExcelService exportExcelServic, IProductInventoryService productInventoryService) {
_loginService = loginService;
_basicsRepositories = basicsRepositories;
_repositories = repositories;
_option = option?.Value;
_exportExcelService = exportExcelServic;
_roductInventoryService = roductInventoryService;
_productInventoryService = productInventoryService;
}
/// <summary>
@@ -116,7 +116,7 @@ namespace WMS.Web.Api.Controllers
if (loginInfo == null || loginInfo.UserInfo == null)
return Result.ReFailure(ResultCodes.Token_Invalid_Error);
return await _roductInventoryService.Refresh();
return await _productInventoryService.Refresh();
}
}
}

View File

@@ -5043,6 +5043,13 @@
<param name="context"></param>
<returns></returns>
</member>
<member name="M:WMS.Web.Domain.QuartzJob.InventoryQuartzJob.Execute(Quartz.IJobExecutionContext)">
<summary>
执行方法
</summary>
<param name="context"></param>
<returns></returns>
</member>
<member name="T:WMS.Web.Domain.QuartzJob.MaterialsQuartzJob">
<summary>
物料同步执行定时任务