|
|
@ -154,7 +154,7 @@ namespace ICSSoft.DataProject |
|
|
|
tableName = @"ICSOOPick a
|
|
|
|
INNER JOIN ICSOutsourcingOrder b ON a.OODetailID=b.OODetailID AND a.WorkPoint=b.WorkPoint ";
|
|
|
|
|
|
|
|
where = @" b.OOCode='{0}' AND a.WorkPoint='{1}' AND a.SupplyType<>'1' "; |
|
|
|
where = @" b.OOCode='{0}' AND a.WorkPoint='{1}' AND a.SupplyType='3' "; |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
#region 委外退货
|
|
|
@ -199,7 +199,7 @@ namespace ICSSoft.DataProject |
|
|
|
tableName = @"ICSMOPick a
|
|
|
|
INNER JOIN ICSMO b ON a.MODetailID=b.MODetailID AND a.WorkPoint=b.WorkPoint ";
|
|
|
|
|
|
|
|
where = @" b.MOCode='{0}' AND a.WorkPoint='{1}' AND a.SupplyType<>'1' "; |
|
|
|
where = @" b.MOCode='{0}' AND a.WorkPoint='{1}' AND a.SupplyType='3' "; |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
#region 销售出库(合并发料)
|
|
|
|