Commit f782c469 authored by 吴春's avatar 吴春

1

parent 3cf02c15
......@@ -3011,6 +3011,30 @@ namespace Edu.Module.Course
flag = OrderId > 0;
if (flag)
{
#region 订单课程信息 2024-09-02 add by:w
if (demodel.OrderCourseList != null && demodel.OrderCourseList.Any())
{
foreach (var item in demodel.OrderCourseList)
{
item.OrderId = demodel.OrderId;
item.Class_Price = demodel?.Class_Price ?? 0;
item.Unit_Price = demodel?.Unit_Price ?? 0;
item.PreferPrice = (demodel?.PreferPrice ?? 0);
item.SourceId = demodel.SourceId;
item.HelpEnterId = demodel.HelpEnterId;
item.TransIntroductceRatio = demodel.TransIntroductceRatio;
item.TransIntroductceReNewRatio = demodel.TransIntroductceReNewRatio;
item.InnerRecommendRatio = demodel.InnerRecommendRatio;
item.InnerRecommendReNewRatio = demodel.InnerRecommendReNewRatio;
item.CommissionReType = demodel.CommissionReType;
item.ScrollSchoolId = demodel.ScrollSchoolId;
item.StudyBroadRebateMoney = demodel.StudyBroadRebateMoney;
item.GuestNum = demodel.GuestNum;
}
order_CourseRepository.InsertBatch(demodel.OrderCourseList);
}
#endregion
// 处理返佣信息
System.Threading.Tasks.Task.Run(() => SetReturnOrderCommission(demodel));
}
......
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