修复bug
This commit is contained in:
@@ -140,8 +140,9 @@ namespace WMS.Web.Domain.Services.Public
|
||||
item.ky_qty = (item.qty ?? 0) - (item.order_lock ?? 0) + (item.virtual_qty ?? 0)
|
||||
+ (item.purchase_qty ?? 0) + (item.in_qty ?? 0) + (item.return_qty ?? 0);
|
||||
}
|
||||
var resList = list.Where(w => w.qty > 0 || w.ky_qty > 0).ToList();
|
||||
return Result<List<JuShuiTanInventoryResponse>>.ReSuccess(resList);
|
||||
//这里不能过滤掉都是0的 因为要修改
|
||||
//var resList = list.Where(w => w.qty > 0 || w.ky_qty > 0).ToList();
|
||||
return Result<List<JuShuiTanInventoryResponse>>.ReSuccess(list);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user