Commit 29cd4dc2 authored by 黄奎's avatar 黄奎

页面修改

parent b4b52974
...@@ -42,5 +42,10 @@ namespace Edu.Model.Entity.Bonus ...@@ -42,5 +42,10 @@ namespace Edu.Model.Entity.Bonus
/// 订单金额 /// 订单金额
/// </summary> /// </summary>
public decimal OrderMoney { get; set; } public decimal OrderMoney { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remarks { get; set; }
} }
} }
...@@ -15,6 +15,7 @@ using Edu.AOP.CustomerAttribute; ...@@ -15,6 +15,7 @@ using Edu.AOP.CustomerAttribute;
using Edu.Model.ViewModel.User; using Edu.Model.ViewModel.User;
using Edu.Repository.Finance; using Edu.Repository.Finance;
using Edu.Model.ViewModel.Finance; using Edu.Model.ViewModel.Finance;
using Edu.Repository.Course;
namespace Edu.Module.Course namespace Edu.Module.Course
{ {
...@@ -73,6 +74,11 @@ namespace Edu.Module.Course ...@@ -73,6 +74,11 @@ namespace Edu.Module.Course
/// </summary> /// </summary>
private readonly RB_FinanceRepository financeRepository = new RB_FinanceRepository(); private readonly RB_FinanceRepository financeRepository = new RB_FinanceRepository();
/// <summary>
/// 课程仓储层对象
/// </summary>
private readonly RB_CourseRepository courseRepository = new RB_CourseRepository();
/// <summary> /// <summary>
/// 获取人头奖金期数分页列表 /// 获取人头奖金期数分页列表
...@@ -502,6 +508,7 @@ namespace Edu.Module.Course ...@@ -502,6 +508,7 @@ namespace Edu.Module.Course
OrderState = oItem.OrderState, OrderState = oItem.OrderState,
OrderMoney = oItem.Income - oItem.Refund - oItem.PlatformTax, OrderMoney = oItem.Income - oItem.Refund - oItem.PlatformTax,
OrderGuestNum = oItem.GuestNum, OrderGuestNum = oItem.GuestNum,
Remarks = (item.NotUseCourseIds.Contains(oItem.CourseId.ToString()) ? "【不适用】" : "") + courseRepository.GetEntity(oItem.CourseId)?.CourseName ?? "",
}; };
var newDetailId = personnel_BonusDetailRepository.Insert(detailModel); var newDetailId = personnel_BonusDetailRepository.Insert(detailModel);
detailModel.Id = newDetailId; detailModel.Id = newDetailId;
......
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