Commit 558a0f12 authored by 黄奎's avatar 黄奎

页面修改

parent 9a384fa5
...@@ -107,7 +107,6 @@ WHERE 1=1 ...@@ -107,7 +107,6 @@ WHERE 1=1
/// <returns></returns> /// <returns></returns>
public List<RB_Course_Category_ViewModel> GetChildCategoryListRepository(string cateIds) public List<RB_Course_Category_ViewModel> GetChildCategoryListRepository(string cateIds)
{ {
StringBuilder builder = new StringBuilder();
var parameters = new DynamicParameters(); var parameters = new DynamicParameters();
string procName = "proc_getchildcategory"; string procName = "proc_getchildcategory";
parameters.Add("QId", cateIds, direction: ParameterDirection.Input); parameters.Add("QId", cateIds, direction: ParameterDirection.Input);
......
...@@ -79,7 +79,8 @@ namespace Edu.WebApi.Controllers.Course ...@@ -79,7 +79,8 @@ namespace Edu.WebApi.Controllers.Course
var query = Common.Plugin.JsonHelper.DeserializeObject<RB_Course_Category_ViewModel>(RequestParm.Msg.ToString()); var query = Common.Plugin.JsonHelper.DeserializeObject<RB_Course_Category_ViewModel>(RequestParm.Msg.ToString());
query.Group_Id = base.UserInfo.Group_Id; query.Group_Id = base.UserInfo.Group_Id;
query.School_Id = base.UserInfo.School_Id; query.School_Id = base.UserInfo.School_Id;
var list = categoryModule.GetChildCategoryStringModule("1,5"); var cateIds= base.ParmJObj.GetStringValue("cateIds");
var list = categoryModule.GetChildCategoryStringModule(cateIds);
return ApiResult.Success(data: list); return ApiResult.Success(data: list);
} }
......
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