Browse Source

物料时间戳增加截止日期

master
Jjie 4 weeks ago
parent
commit
a844571ae0
  1. 10
      ICSSoft.FromERP/ICSSoft.FromERP/ICSInventory.cs

10
ICSSoft.FromERP/ICSSoft.FromERP/ICSInventory.cs

@ -57,11 +57,16 @@ namespace ICSSoft.FromERP
Dictionary<string, string> dic = new Dictionary<string, string>();
DYS dys = new DYS();
List<DYSs> ls = new List<DYSs>();
// 获取当前时间
DateTime currentTime = DateTime.Now;
// 将日期格式化为 yyyy-MM-dd 格式
string formattedDate = currentTime.ToString("yyyy-MM-dd");
//List<DYSq> lq = new List<DYSq>();
dys.pageSize = 500;
dys.pageIndex = 1;
dys.beganTime= "2025-03-15";
dys.beginTime = "2025-04-06";
dys.endTime = formattedDate;
//dys.isSum = true;
#region 添加条件
@ -312,7 +317,8 @@ namespace ICSSoft.FromERP
{
public int pageIndex;
public int pageSize;
public string beganTime;
public string beginTime;
public string endTime;
public DYSs simple;
}

Loading…
Cancel
Save