修改了拉取时间

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

@@ -21,6 +21,7 @@ using WMS.Web.Domain.IService;
using WMS.Web.Domain.IService.Public;
using WMS.Web.Domain.Services.Public;
using WMS.Web.Domain.Values;
using static StackExchange.Redis.Role;
namespace WMS.Web.Domain.Services
{
@@ -237,7 +238,8 @@ namespace WMS.Web.Domain.Services
{
if (billNos == null || billNos.Count == 0)
{
var beginTime = DateTime.Now.AddHours(-8);
var beginTime = DateTime.Now.AddHours(-260);//默认拉去8小时以内的数据ALTER BY YZH
//1.同步数据:采购订单
var purchase_result = await this.SsynPurchaseInStock(null, isTransaction, beginTime);
if (!purchase_result.IsSuccess)