1
647556386
2026-01-30 7c843564d5626ec20f905836d95bb08c68be6006
项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Jobs/ErpJob.cs
@@ -2,7 +2,7 @@
using SqlSugar;
using WIDESEA_DTO.Basic;
namespace WIDESEA_WMSServer.Jobs
namespace WIDESEA_WMSServer
{
    [DisallowConcurrentExecution]
    public class ErpJob : IJob
@@ -24,14 +24,12 @@
            try
            {
                 await _erpApiService.GetSuppliersAsync();
                await _erpApiService.GetSuppliersAsync();
                await _erpApiService.GetMaterialUnitAsync();
                var materialRequest = new MaterialRequest
                {
                    modifyDateStart = DateTime.Now.AddDays(-10).Date.ToString("yyyy-MM-dd") + " 00:00:01",
                    modifyDateEnd = DateTime.Now.ToString("yyyy-MM-dd HH:mm") + ":01",
                    pageNum = 1,
                    pageSize = 5000
                };