/// <summary> /// 读取采购订单 /// </summary> /// <param name="param">Purchase Order</param> /// <returns></returns> public static List <PurchaseOrderLine> GetPurchaseOrderLine(PurchaseOrderHead param) { try { if (param == null) { throw new Exception("param is null"); } List <PurchaseOrderLine> lstPOL = factory.GetPurchaseOrderLine(param); if (lstPOL == null) { throw new Exception("DAL.Purchase.PurchaseOrderFactory.GetPurchaseOrderLine()==null"); } return(lstPOL); } catch (Exception ex) { LogHelper.WriteLog(new Log() { message = ex.Message }, "GetPurchaseOrderLine"); return(null); } }