Commit 789faa79 authored by 黄奎's avatar 黄奎

学员查询修改

parent 23b61bfc
......@@ -405,12 +405,12 @@ WHERE 1=1
//有效客户
if (query.QStudentStatus == 1)
{
builder.AppendFormat(" AND t.{0}<>{1} ", nameof(RB_Student_ViewModel.StuStage), 7);
builder.AppendFormat(" AND t.StuStage<>{0} AND t.AdvisorStatus<>{1} ", 7, 7);
}
//无效客户
if (query.QStudentStatus == 2)
{
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.StuStage), 7);
builder.AppendFormat(" AND (t.StuStage={0} OR t.AdvisorStatus={1}) ", 7, 7);
}
//渠道
if (query.StuChannel > 0)
......
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