修改了拉取时间

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

@@ -135,7 +135,8 @@ namespace WMS.Web.Api.Controllers
sbns.Add(sourceBillNo);
//2.同步金蝶
return await _inStockTaskService.Sysn(sbns);
return await _inStockTaskService.Sysn(sbns);
// return await _inStockTaskService.Sysn(null);//alter by yzh
}
/// <summary>

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());

View File

@@ -5340,6 +5340,16 @@
箱重
</summary>
</member>
<member name="P:WMS.Web.Core.Dto.OutStockTask.ExportInfoResponse.Qty">
<summary>
箱内数量
</summary>
</member>
<member name="P:WMS.Web.Core.Dto.OutStockTask.ExportInfoResponse.AccruedQty">
<summary>
应出库数量
</summary>
</member>
<member name="T:WMS.Web.Core.Dto.OutStockTask.GetOutStockTaskByNoResponse">
<summary>
根据单号搜索出库单任务信息