public override void Visit(ReturnOrder returnOrder) { Console.WriteLine($"开始为退货订单【{returnOrder.Id}】进行退货捡货处理:"); foreach (var item in returnOrder.OrderItems) { Console.WriteLine($"【{item.Product.Name}】商品* {item.Qty}"); } Console.WriteLine($"退货订单【{returnOrder.Id}】退货捡货完毕!", returnOrder.Id); Console.WriteLine("=========================="); }
public override void Visit(ReturnOrder returnOrder) { Console.WriteLine($"收到来自【{returnOrder.Customer.NickName}】的退货订单【{returnOrder.Id}】,进行退货收货处理:"); foreach (var item in returnOrder.OrderItems) { Console.WriteLine($"【{item.Product.Name}】商品* {item.Qty}"); } Console.WriteLine($"退货订单【{returnOrder.Id}】收货处理完毕!"); Console.WriteLine("=========================="); }