From 74784620a9f58eb8f972a493d9d7deeb3e6e685a Mon Sep 17 00:00:00 2001 From: yuyubohh <403221757@qq.com> Date: Wed, 3 Dec 2025 21:38:51 +0800 Subject: [PATCH] 123 --- .../Implementation/JackYunService.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Reportapi/MyCode.Project.Services/Implementation/JackYunService.cs b/Reportapi/MyCode.Project.Services/Implementation/JackYunService.cs index 9b9f50e..fa985dc 100644 --- a/Reportapi/MyCode.Project.Services/Implementation/JackYunService.cs +++ b/Reportapi/MyCode.Project.Services/Implementation/JackYunService.cs @@ -282,21 +282,21 @@ namespace MyCode.Project.Services.Implementation /// public List GetPurchaseInboundData(DateTime now) { - var shopConfigs = _yTKJTShopParameterRepository.Queryable().Where(t => t.FDOCUMENTSTATUS == "C" && t.FPURCHASERECEIVING == "1").ToList(); + //var shopConfigs = _yTKJTShopParameterRepository.Queryable().Where(t => t.FDOCUMENTSTATUS == "C" && t.FPURCHASERECEIVING == "1").ToList(); BusiOrderGoodsDocInRequest requestBizData = new BusiOrderGoodsDocInRequest(); //string value = "2025-06-15 00:00:00";// DateTime.Now.Date.AddDays(-5).ToString("yyyy-MM-dd HH:mm:ss") ; //string value1 = "2025-06-20 00:00:00";//DateTime.Now.Date.ToString("yyyy-MM-dd HH:mm:ss"); - string value = now.Date.AddDays(-7).ToString("yyyy-MM-dd"); - string value1 = now.Date.ToString("yyyy-MM-dd"); + string value = now.Date.AddDays(-7).ToString("yyyy-MM-dd HH:mm:ss"); + string value1 = now.Date.ToString("yyyy-MM-dd HH:mm:ss"); if (now.Date.AddDays(-7) < startTime) { - value = startTime.ToString("yyyy-MM-dd"); + value = startTime.ToString("yyyy-MM-dd HH:mm:ss"); } //101-采购入库 requestBizData.Inouttypes = "101"; - requestBizData.InOutDateStart = new DateTimeOffset(DateTime.Parse(value)).ToUnixTimeMilliseconds().ToString() ; - requestBizData.InOutDateEnd = new DateTimeOffset(DateTime.Parse(value1)).ToUnixTimeMilliseconds().ToString(); + requestBizData.InOutDateStart = value; //new DateTimeOffset(DateTime.Parse(value)).ToUnixTimeMilliseconds().ToString() ; + requestBizData.InOutDateEnd = value1;// new DateTimeOffset(DateTime.Parse(value1)).ToUnixTimeMilliseconds().ToString(); requestBizData.PageSize = 200; requestBizData.PageIndex = 0;