Commit c0a54557 authored by 黄奎's avatar 黄奎

页面修改

parent aadcc7cc
......@@ -5,6 +5,7 @@ using Edu.Cache.User;
using Edu.Common;
using Edu.Common.API;
using Edu.Common.Enum.Course;
using Edu.Common.Enum.User;
using Edu.Common.Plugin;
using Edu.Model.ViewModel.Course;
using Edu.Model.ViewModel.Customer;
......@@ -114,7 +115,17 @@ namespace Edu.WebApi.Controllers.Course
public ApiResult GetCommissionUserList()
{
var userInfo = base.UserInfo;
var dmodel = JsonHelper.DeserializeObject<RB_Order_ReturnComission_ViewModel>(RequestParm.Msg.ToString());
var dmodel = new RB_Order_ReturnComission_ViewModel()
{
BatchId=base.ParmJObj.GetInt("BatchId"),
OrderSourceId=base.ParmJObj.GetInt("OrderSourceId"),
OrderSourceType=(StuCreateTypeEnum)base.ParmJObj.GetInt("OrderSourceType"),
Q_SelectNormal=base.ParmJObj.GetInt("Q_SelectNormal"),
Status=base.ParmJObj.GetInt("Status"),
UserDept=base.ParmJObj.GetInt("UserDept"),
SchoolId=base.ParmJObj.GetInt("SchoolId"),
};
dmodel.GroupId = userInfo.Group_Id;
if (dmodel.BatchId <= 0)
{
......@@ -124,7 +135,7 @@ namespace Edu.WebApi.Controllers.Course
var list = customerCommissionModule.GetCommissionUserList(dmodel);
if (dmodel.UserDept > 0)
{
list = list.Where(x => x.UserDept == dmodel.UserDept).ToList();
//list = list.Where(x => x.UserDept == dmodel.UserDept).ToList();
}
return ApiResult.Success("", list.Select(x => new
{
......
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