Commit aa824638 authored by 黄奎's avatar 黄奎

页面修改

parent 0aca70d7
......@@ -444,6 +444,10 @@ where sog.Status =0 and o.Group_Id ={group_Id} and o.OrderState <>3 and IFNULL(o
{
where += $" and s.{nameof(RB_Student_ViewModel.StuStage)} ={demodel.StuStage}";
}
if (demodel.AdvisorStatus > 0)
{
where += $" and s.{nameof(RB_Student_ViewModel.AdvisorStatus)} ={demodel.AdvisorStatus}";
}
if (demodel.StuPurpose > 0)
{
where += $" and s.{nameof(RB_Student_ViewModel.StuPurpose)} ={demodel.StuPurpose}";
......
......@@ -75,6 +75,7 @@ namespace Edu.WebApi.Controllers.User
StuPurpose = base.ParmJObj.GetInt("StuPurpose"),
HeadTeacherId=base.ParmJObj.GetInt("HeadTeacherId"),
QueryTpye=base.ParmJObj.GetInt("QueryTpye"),
AdvisorStatus=base.ParmJObj.GetInt("AdvisorStatus"),
};
string schoolId = base.ParmJObj.GetStringValue("School_Id");
if (schoolId != "-1")
......@@ -127,6 +128,11 @@ namespace Edu.WebApi.Controllers.User
{
demodel.CreateBy = base.UserInfo.Id;
}
int qCreateBy= base.ParmJObj.GetInt("CreateBy");
if (qCreateBy > 0)
{
demodel.CreateBy = qCreateBy;
}
var list = studentStatModule.GetStudentFollowUpPageModule(pmodel.PageIndex, pmodel.PageSize, out long count, demodel);
pmodel.Count = count;
pmodel.PageData = list;
......@@ -164,6 +170,7 @@ namespace Edu.WebApi.Controllers.User
StuPurpose = base.ParmJObj.GetInt("StuPurpose"),
HeadTeacherId = base.ParmJObj.GetInt("HeadTeacherId"),
QueryTpye=base.ParmJObj.GetInt("QueryTpye"),
AdvisorStatus = base.ParmJObj.GetInt("AdvisorStatus"),
};
string schoolId = base.ParmJObj.GetStringValue("School_Id");
if (schoolId != "-1")
......@@ -215,6 +222,11 @@ namespace Edu.WebApi.Controllers.User
demodel.CreateBy = base.UserInfo.Id;
}
}
int qCreateBy = base.ParmJObj.GetInt("CreateBy");
if (qCreateBy > 0)
{
demodel.CreateBy = qCreateBy;
}
var list = studentStatModule.GetStudentFollowUpPageModule(1, 1000000, out long count, demodel);
string excelName = "学员跟踪.xls";
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