/// <summary> /// 是否订单已经支付 /// </summary> /// <param name="soSysNo">订单系统编号</param> /// <returns>true:已支付,归还库存</returns> public bool NetpaySOCheckReturnInventory(int soSysNo) { bool result = false; ECCentral.BizEntity.Invoice.NetPayInfo NetPay = new BizEntity.Invoice.NetPayInfo(); NetPay = SODA.GetCenterDBNetpayBySOSysNo(soSysNo); if (NetPay != null && NetPay.Status > (int)ECCentral.BizEntity.Invoice.NetPayStatus.Origin) { result = true; } else { result = false; } return(result); }