修改了拉取时间

This commit is contained in:
2024-12-23 10:31:17 +08:00
parent d2ffc8b8fd
commit 4cd92745e6
10 changed files with 28 additions and 9 deletions

View File

@@ -296,7 +296,7 @@ namespace WMS.Web.Api.Controllers
if (loginInfo == null || loginInfo.UserInfo == null)
return Result.ReFailure(ResultCodes.Token_Invalid_Error);
DateTime begin = DateTime.Now.AddDays(-3);//默认拉去三天以内的数据
DateTime begin = DateTime.Now.AddDays(-9);//默认拉去三天以内的数据刷新改成过去8天的数据本身为3天Alter by yzh
var res = await _repositories.GetEntityList(dto.Ids);
//先刷新选中的数据
await _outStockTaskService.Sync(res.Select(s => s.BillNo).ToList());