供应商,物料接口
This commit is contained in:
zgf committed 2024-01-03 15:29:36 +08:00
1 parent 8702a24e20
commit cfbddf7e9e
19 files changed
+242 -28

No files matched your search

@@ -137,6 +137,11 @@ public class XWMSPTHController : BaseController
detailList.Add(detail);
}
_unitwork.BatchAdd(detailList.ToArray());
shipment.TotalLines = detailList.Count;
shipment.TotalQty = detailList.Sum(x => x.Qty);
_unitwork.Update(shipment);
tran.Commit();
}
catch (Exception ex)