Commit 83bbb625 authored by liudong1993's avatar liudong1993

1

parent 598fae23
......@@ -356,5 +356,10 @@ namespace Edu.Model.Entity.Course
/// 开发题库等级[多选,逗号分割]
/// </summary>
public string OpenBankLevel { get; set; }
/// <summary>
/// 赠送咖啡劵数量
/// </summary>
public int FreeCoffeeNum { get; set; }
}
}
\ No newline at end of file
......@@ -301,6 +301,7 @@ WHERE 1=1
{nameof(RB_Course_ViewModel.ScrollMaxNum),model.ScrollMaxNum },
{nameof(RB_Course_ViewModel.CourseTimeId),model.CourseTimeId },
{nameof(RB_Course_ViewModel.OpenBankLevel),model.OpenBankLevel },
{nameof(RB_Course_ViewModel.FreeCoffeeNum),model.FreeCoffeeNum },
};
flag = base.Update(fileds, new WhereHelper(nameof(RB_Course_ViewModel.CourseId), model.CourseId));
}
......
......@@ -417,11 +417,12 @@ namespace Edu.WebApi.Controllers.Course
B2BIcon = base.ParmJObj.GetStringValue("B2BIcon"),
B2BBackground = base.ParmJObj.GetStringValue("B2BBackground"),
CourseEmphasis = base.ParmJObj.GetStringValue("CourseEmphasis"),
ContractInfo=base.ParmJObj.GetStringValue("ContractInfo"),
ContractInfo = base.ParmJObj.GetStringValue("ContractInfo"),
IsScrollClass = base.ParmJObj.GetInt("IsScrollClass"),
ScrollMinNum = base.ParmJObj.GetInt("ScrollMinNum"),
ScrollMaxNum = base.ParmJObj.GetInt("ScrollMaxNum"),
CourseTimeId = base.ParmJObj.GetInt("CourseTimeId"),
FreeCoffeeNum = base.ParmJObj.GetInt("FreeCoffeeNum", 0)
};
try
{
......
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