测试接口
This commit is contained in:
@@ -89,10 +89,12 @@ namespace WMS.Web.Api.Controllers
|
||||
//return JsonConvert.SerializeObject(result.Data);
|
||||
|
||||
|
||||
var tttt = new List<string>() { "ABCD14200999" };
|
||||
var boxInventorys = await _boxInventoryRepositories.Get(142);
|
||||
var result = await this._inStockTaskService.Sysn();
|
||||
|
||||
var data = new List<BoxInventory>();
|
||||
//var tttt = new List<string>() { "ABCD14200999" };
|
||||
//var boxInventorys = await _boxInventoryRepositories.Get(142);
|
||||
|
||||
//var data = new List<BoxInventory>();
|
||||
|
||||
//var entity = new BoxInventory();
|
||||
//entity.Id = 34;
|
||||
@@ -110,15 +112,15 @@ namespace WMS.Web.Api.Controllers
|
||||
//det.Qty = 2;
|
||||
//entity.Details.Add(det);
|
||||
|
||||
boxInventorys.Details.ForEach(x=>
|
||||
{
|
||||
x.SerialNumbers.RemoveAll(t => tttt.Contains(t));
|
||||
//x.SerialNumbers.AddRange(tttt);
|
||||
x.Qty = 3;
|
||||
});
|
||||
//boxInventorys.Details.ForEach(x=>
|
||||
//{
|
||||
// x.SerialNumbers.RemoveAll(t => tttt.Contains(t));
|
||||
// //x.SerialNumbers.AddRange(tttt);
|
||||
// x.Qty = 3;
|
||||
//});
|
||||
|
||||
data.Add(boxInventorys);
|
||||
var result= await _boxInventoryRepositories.UpdateRange(data);
|
||||
//data.Add(boxInventorys);
|
||||
//var result= await _boxInventoryRepositories.UpdateRange(data);
|
||||
return "";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user