Commit 261d5cf7 authored by liudong1993's avatar liudong1993

1

parent 04a8f675
...@@ -150,6 +150,10 @@ WHERE 1=1 ...@@ -150,6 +150,10 @@ WHERE 1=1
{ {
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.CreateBy), query.CreateBy); builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.CreateBy), query.CreateBy);
} }
if (query.StuStage > 0)
{
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.StuStage), (int)query.StuStage);
}
if (query.CustomerId > 0) if (query.CustomerId > 0)
{ {
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.CustomerId), query.CustomerId); builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.CustomerId), query.CustomerId);
......
...@@ -657,7 +657,8 @@ namespace Edu.WebApi.Controllers.User ...@@ -657,7 +657,8 @@ namespace Edu.WebApi.Controllers.User
StuTel = base.ParmJObj.GetStringValue("StuTel"), StuTel = base.ParmJObj.GetStringValue("StuTel"),
CreateBy = base.ParmJObj.GetInt("CreateBy"), CreateBy = base.ParmJObj.GetInt("CreateBy"),
IsQueryMyStu = base.ParmJObj.GetInt("IsQueryMyStu"), IsQueryMyStu = base.ParmJObj.GetInt("IsQueryMyStu"),
CustomerId = base.ParmJObj.GetInt("CustomerId") CustomerId = base.ParmJObj.GetInt("CustomerId"),
StuStage = (StuStageEnum)base.ParmJObj.GetInt("StuStage", 0)
}; };
if (query.IsQueryMyStu == 1) if (query.IsQueryMyStu == 1)
{ {
......
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