WebAPI/Controllers/CJGL/Sc_ProcessExchangeBillController.cs
@@ -2157,7 +2157,7 @@ HProQty = oItemSub.HProQty; sql = "select * from h_v_Sc_ProcessExchangeBill_BatchSplit where hmainid = " + oItemSub.HICMOInterID + " and hentryid = " + oItemSub.HICMOEntryID; + oItemSub.HICMOEntryID + " and HRoutingID = " + oItemSub.HRoutingInterID.ToString(); ds = oCN.RunProcReturn(sql, "h_v_Sc_ProcessExchangeBill_BatchSplit"); //主表赋值 if (ds.Tables[0].Rows.Count > 0 && ds != null)