调整时间
This commit is contained in:
@@ -281,7 +281,9 @@ namespace WMS.Web.Domain.Services
|
|||||||
if (billNos == null)
|
if (billNos == null)
|
||||||
{
|
{
|
||||||
//DateTime begin = await _erpOpsSyncDateRepositories.Get(ErpOpsSyncType.OutStock);
|
//DateTime begin = await _erpOpsSyncDateRepositories.Get(ErpOpsSyncType.OutStock);
|
||||||
DateTime begin = DateTime.Now.AddDays(-3);//默认拉去三天以内的数据
|
DateTime begin = Convert.ToDateTime("2024-03-01 00:00:00");//正式环境 从3月1好开始
|
||||||
|
if (DateTime.Now > Convert.ToDateTime("2024-03-04 00:00:00"))
|
||||||
|
begin = DateTime.Now.AddDays(-3);//默认拉去三天以内的数据
|
||||||
//更新时间范围内所有
|
//更新时间范围内所有
|
||||||
result = await BillQueryForDeliveryNoticeOutStock(false, null, begin);
|
result = await BillQueryForDeliveryNoticeOutStock(false, null, begin);
|
||||||
if (!result.IsSuccess) isRollback = true;
|
if (!result.IsSuccess) isRollback = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user