| | |
| | | var stock = mod.productStock.Where(a => a.containerCode == _task.containerCode).FirstOrDefault(); |
| | | if (stock != null) |
| | | { |
| | | System.Collections.Generic.List<productStockList> productStocks = mod.productStockList.Where(a => a.stockId == stock.stockId).ToList(); |
| | | System.Collections.Generic.List<productStockList> productStocks = mod.productStockList.Where(a => a.stockId == stock.positionId).ToList(); |
| | | AddRecord(mod, _outInFlag, positionName, _task, remark, |
| | | productStocks, currentTaskType); |
| | | } |
| | |
| | | [Key] |
| | | public long stockListId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 表position的positionId |
| | | /// </summary> |
| | | public long? stockId { get; set; } |
| | | |
| | | [StringLength(50)] |