Browse Source

调整盘点查询接口

master
lilili 2 years ago
parent
commit
8347330612
  1. 5
      WMS-BS/NFine.Application/WMS/BlitemApp.cs

5
WMS-BS/NFine.Application/WMS/BlitemApp.cs

@ -69,12 +69,11 @@ a.ReplayAmount,
a.CheckQuantity, a.CheckQuantity,
a.CheckAmount a.CheckAmount
FROM ICSCheck f
LEFT JOIN ICSCheckDetail a ON f.CheckCode=a.CheckCode
FROM ICSCheckDetail a
left join ICSInventoryLot c on a.LotNo=c.LotNO and a.WorkPoint=c.WorkPoint left join ICSInventoryLot c on a.LotNo=c.LotNO and a.WorkPoint=c.WorkPoint
left join ICSInventory b on c.InvCode=b.InvCode AND c.WorkPoint=b.WorkPoint left join ICSInventory b on c.InvCode=b.InvCode AND c.WorkPoint=b.WorkPoint
left join ICSWareHouseLotInfo d on c.LotNO=d.LotNO AND c.WorkPoint=d.WorkPoint left join ICSWareHouseLotInfo d on c.LotNO=d.LotNO AND c.WorkPoint=d.WorkPoint
WHERE f.ID='" + ID + "' and a.WorkPoint in ('" + WorkPoint + "')";
WHERE a.CheckID='" + ID + "' and a.WorkPoint in ('" + WorkPoint + "')";
return Repository().FindTablePageBySql(sql.ToString(), parameter.ToArray(), ref jqgridparam); return Repository().FindTablePageBySql(sql.ToString(), parameter.ToArray(), ref jqgridparam);
} }

Loading…
Cancel
Save