|
|
@@ -182,7 +182,7 @@ namespace WCS.Service.Works.Station
|
|
|
|
|
|
if (!devs.Any()) return;
|
|
|
var items = devs.ToArray();
|
|
|
- var maxGoodsnum = devs.Select(v => v.Item1.Data.Goodsnum).OrderByDescending(v => v).FirstOrDefault();
|
|
|
+ var maxGoodsnum = devs.Select(v => v.Item1.Data2.Goodsnum).OrderByDescending(v => v).FirstOrDefault();
|
|
|
if (devs.Count != maxGoodsnum) throw new WarnException($"可用货物数{devs.Count},实际货物数{maxGoodsnum}");
|
|
|
List<I_WCS_GetInTaskResponseItem> Infos = items.Length switch
|
|
|
{
|