Commit fbb3dd65 authored by 黄奎's avatar 黄奎

页面修改

parent 9b2b6f93
...@@ -261,10 +261,7 @@ WHERE 1=1 ...@@ -261,10 +261,7 @@ WHERE 1=1
{ {
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.School_Id), query.School_Id); builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.School_Id), query.School_Id);
} }
if (query.CustomerId > 0)
{
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.CustomerId), query.CustomerId);
}
if (query.QStudentType == 1) if (query.QStudentType == 1)
{ {
builder.AppendFormat(" AND t.{0}=0 ", nameof(RB_Student_ViewModel.CustomerId)); builder.AppendFormat(" AND t.{0}=0 ", nameof(RB_Student_ViewModel.CustomerId));
...@@ -321,7 +318,7 @@ WHERE 1=1 ...@@ -321,7 +318,7 @@ WHERE 1=1
} }
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} OR (t.StuSourceId={1} AND t.CreateType=2) ) ", nameof(RB_Student_ViewModel.CustomerId), query.CustomerId);
} }
if (query.StuStage > 0) if (query.StuStage > 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