增加已经到货数量

This commit is contained in:
admin
2021-01-28 15:37:47 +08:00
parent 2f12959be0
commit 2ab5c0d2af
4 changed files with 7 additions and 6 deletions

View File

@@ -15,14 +15,15 @@ namespace NX.ERP.U8.Purchase
B.Autoid as id,b.ID as ArrivalID,
b.cInvCode AS MaterialCode,
b.cBatch AS BatchNo,
b.fRealQuantity as RealQuantity,
b.cUnitID AS UnitCode,b.ioricost as oricost,b.ioritaxcost as oritaxcost ,b.icost as cost,b.iorimoney as orimoney,b.ioritaxprice as oritaxprice,b.iorisum as orisum,
B.iQuantity as Quantity,b.iposid as PosId ,B.CORDERCODE as OrderCode,C.POID as Poid from
pu_ArrHead as a
left join pu_arrbody as b on a.id=b.id
Left Join PO_Podetails C WITH (NOLOCK) ON B.iPOsID = C.ID ";
Left Join PO_Podetails C WITH (NOLOCK) ON B.iPOsID = C.ID where ISNULL( a.cverifier,'')<>'' ";
if (!string.IsNullOrEmpty(strWhere))
{
strSQL += $" where {strWhere} ";
strSQL += $" and {strWhere} ";
}
var lookup = new Dictionary<int, Model.Purchase.Arrival>();
// return conn.Query<Model.Purchase.Arrival>(strSQL,null);