定时器执行
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
物料同步执行定时任务
|
||||
|
||||
Reference in New Issue
Block a user