[C#] 纯文本查看 复制代码
var pullInRow = new List<POExchangeList>() {
new POExchangeList { ID=Guid.NewGuid(), CustomerName="A1", FltDate = "2024-12-01",ExchangeQty = 50000},
new POExchangeList { ID=Guid.NewGuid(), CustomerName="A1", FltDate = "2024-12-02",ExchangeQty = 4000},
new POExchangeList { ID=Guid.NewGuid(), CustomerName="A1", FltDate = "2024-12-03",ExchangeQty = 6000},
};
var pushOutRow = new List<POExchangeList>() {
new POExchangeList { ID=Guid.NewGuid(), CustomerName = "ADD", FltDate = "2023-12-06",ExchangeQty = 55000},
new POExchangeList { ID=Guid.NewGuid(), CustomerName = "ADD", FltDate = "2023-12-08",ExchangeQty = 4000},
new POExchangeList { ID=Guid.NewGuid(), CustomerName = "ADD", FltDate = "2023-12-07",ExchangeQty = 1000}
};
var endRow = new List<POExchangeList>() {
new POExchangeList { ID=Guid.NewGuid(), CustomerName = "A1", FltDate = "2023-12-01",ExchangeQty = 50000,NewQty=50000, NewFltDate="2024-12-06"},
new POExchangeList { ID=Guid.NewGuid(), CustomerName = "A1", FltDate = "2023-12-02",ExchangeQty = 4000,NewQty=4000, NewFltDate="2024-12-06"},
new POExchangeList { ID=Guid.NewGuid(), CustomerName = "A1", FltDate = "2023-12-03",ExchangeQty = 6000,NewQty = 1000, NewFltDate="2024-12-06"},
new POExchangeList { ID=Guid.NewGuid(), CustomerName = "A1", FltDate = "2023-12-03",ExchangeQty = 6000,NewQty=4000,NewFltDate="2023-12-08"},
new POExchangeList { ID=Guid.NewGuid(), CustomerName = "A1", FltDate = "2023-12-03",ExchangeQty = 6000,NewQty=1000,NewFltDate="2023-12-07"}
};