private void GetFltRefundedCustomerMessage(SendAppMessageModel sendAppMessageModel) { if (sendAppMessageModel.OrderType == OrderSourceTypeEnum.FltRet && sendAppMessageModel.SendType == SendAppMessageTypeEnum.RefundedCustomerNotice) { FltRefundOrderEntity fltRefundOrderEntity = _fltRefundOrderDal.Find <FltRefundOrderEntity>(sendAppMessageModel.OrderId); sendAppMessageModel.SendContent = string.Format("机票订单{0}已经退票成功,请确认", fltRefundOrderEntity.OrderId); } }
public FltRefundOrderModel GetFlighRefundOrderById(int refundId) { FltRefundOrderEntity refundOrderEntity = _fltRefundOrderDal.Find <FltRefundOrderEntity>(refundId); if (refundOrderEntity == null) { return(null); } List <FltRefundOrderModel> refundModels = Convert(new List <FltRefundOrderEntity>() { refundOrderEntity }); return(refundModels.FirstOrDefault()); }