Commit 6cd3d5ff authored by liudong1993's avatar liudong1993

1

parent aa7e2f99
......@@ -10,6 +10,11 @@ namespace Edu.Model.ViewModel.User
[Serializable]
public class RB_Student_ViewModel : Entity.User.RB_Student
{
/// <summary>
/// 学生Ids
/// </summary>
public string StuIds { get; set; }
/// <summary>
/// 创建人姓名
/// </summary>
......
......@@ -74,6 +74,10 @@ WHERE 1=1
{
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.AreaId), query.AreaId);
}
if (!string.IsNullOrEmpty(query.StuIds))
{
builder.AppendFormat(" AND t.{0} in({1}) ", nameof(RB_Student_ViewModel.StuId), query.StuIds);
}
}
return Get<RB_Student_ViewModel>(builder.ToString(), parameters).ToList();
}
......
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