Commit e8e87a70 authored by 吴春's avatar 吴春

1

parent e31e717b
...@@ -120,7 +120,7 @@ namespace Edu.Module.Course ...@@ -120,7 +120,7 @@ namespace Edu.Module.Course
{ {
var obj = new object(); var obj = new object();
var orderModel = orderRepository.GetOrderListRepository_V2(new RB_Order_ViewModel { OrderId = OrderId })?.FirstOrDefault() ?? new RB_Order_ViewModel(); var orderModel = orderRepository.GetOrderListRepository_V2(new RB_Order_ViewModel { OrderId = OrderId })?.FirstOrDefault() ?? new RB_Order_ViewModel();
var guestModel = order_GuestRepository.GetEntity<RB_Order_Guest_ViewModel>(GuestId); var guestModel = order_GuestRepository.GetCommonOrderGuestListRepository(new RB_Order_Guest_ViewModel { Id= GuestId })?.FirstOrDefault()??new RB_Order_Guest_ViewModel();
var classModel = new RB_Class_ViewModel(); var classModel = new RB_Class_ViewModel();
var courseModel = new RB_Course_ViewModel(); var courseModel = new RB_Course_ViewModel();
decimal PreferPrice = 0;//总金额 decimal PreferPrice = 0;//总金额
...@@ -160,7 +160,7 @@ namespace Edu.Module.Course ...@@ -160,7 +160,7 @@ namespace Edu.Module.Course
StuBirth = Common.ConvertHelper.FormatDate(guestModel?.BirthDate), StuBirth = Common.ConvertHelper.FormatDate(guestModel?.BirthDate),
StuSex = (guestModel?.Sex ?? 0) == 1 ? 0 : 1, StuSex = (guestModel?.Sex ?? 0) == 1 ? 0 : 1,
StuAddress = guestModel?.ContactAddress ?? "", StuAddress = guestModel?.ContactAddress ?? "",
StuTel = guestModel?.ContactMobile ?? "", StuTel = guestModel?.StuRealMobile ?? "",
StuEmail = "", StuEmail = "",
CourseName = orderModel?.CourseSubjectName ?? "", CourseName = orderModel?.CourseSubjectName ?? "",
StartLevel = string.Join("、", classList.Select(x => x.CourseName)),// guestModel?.Basics ?? "", StartLevel = string.Join("、", classList.Select(x => x.CourseName)),// guestModel?.Basics ?? "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment