修复bug

This commit is contained in:
18942506660
2024-10-23 17:37:24 +08:00
parent a6a0864c66
commit 4b4a65c1c8
2 changed files with 4 additions and 2 deletions

View File

@@ -34,6 +34,8 @@ namespace WMS.Web.Domain.QuartzJob
try
{
if (DateTime.Now.Hour < 8 || DateTime.Now.Hour > 20) return;
_logger.LogInformation($"同步成品即时库存->开始定时任务");
var result = await _productInventoryService.Refresh();
}
catch (Exception ex)