|
@ -154,7 +154,7 @@ namespace ICSSoft.DataProject |
|
|
tableName = @"ICSOOPick a
|
|
|
tableName = @"ICSOOPick a
|
|
|
INNER JOIN ICSOutsourcingOrder b ON a.OODetailID=b.OODetailID AND a.WorkPoint=b.WorkPoint ";
|
|
|
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
|
|
|
#endregion
|
|
|
#region 委外退货
|
|
|
#region 委外退货
|
|
@ -199,7 +199,7 @@ namespace ICSSoft.DataProject |
|
|
tableName = @"ICSMOPick a
|
|
|
tableName = @"ICSMOPick a
|
|
|
INNER JOIN ICSMO b ON a.MODetailID=b.MODetailID AND a.WorkPoint=b.WorkPoint ";
|
|
|
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
|
|
|
#endregion
|
|
|
#region 销售出库(合并发料)
|
|
|
#region 销售出库(合并发料)
|
|
|