Commit b7da48c8 authored by 吴春's avatar 吴春

提交代码

parent c95042c3
......@@ -1964,7 +1964,7 @@ namespace Edu.Module.Course
SpecificationSort = item.SpecificationSort,
Status = 0,
TenantId = demodel.TenantId,
UpdateDate = demodel.UpdateDate,
UpdateDate = System.DateTime.Now,
Commission = item.Commission,
CostMoney = item.CostMoney
});
......
......@@ -309,6 +309,8 @@ namespace Edu.WebApi.Controllers.Course
var oldModel = courseModule.GetCourseModule(extModel.CourseId, IsGetDiscount: 1);
extModel.MallGoodsId = oldModel.MallGoodsId;
extModel.PreferentialList = oldModel.PreferentialList;
extModel.SellPrice = oldModel.SellPrice;
extModel.OriginalPrice = oldModel.OriginalPrice;
}
bool flag = courseModule.SetCourseModule(extModel);
return flag ? ApiResult.Success() : ApiResult.Failed();
......
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