Commit cd93417c authored by 黄奎's avatar 黄奎

页面修改

parent 2325478c
......@@ -15,6 +15,11 @@ namespace Edu.Model.ViewModel.Contract
/// </summary>
public int IsQueryAll { get; set; }
/// <summary>
/// 查询业务员
/// </summary>
public int QCreateBy { get; set; }
/// <summary>
/// 订单编号
/// </summary>
......
......@@ -262,7 +262,6 @@ namespace Edu.Module.Course
var amodel = alist.Where(x => x.Id == item.CreateBy).FirstOrDefault();
item.CreateByName = amodel?.AccountName ?? "";
item.CreateByPhoto = amodel?.UserIcon ?? "";
if (item.Status == 0)
{
item.SchoolStatusStr = "草稿";
......
......@@ -62,6 +62,10 @@ WHERE 1=1
{
builder.AppendFormat(@" AND A.{0}={1} ", nameof(RB_BackClass_Protocol_ViewModel.CreateBy), query.CreateBy);
}
if (query.QCreateBy > 0)
{
builder.AppendFormat(@" AND A.{0}={1} ", nameof(RB_BackClass_Protocol_ViewModel.CreateBy), query.QCreateBy);
}
if (!string.IsNullOrEmpty(query.PartyAName))
{
builder.AppendFormat(" AND A.{0} LIKE @PartyAName ", nameof(RB_BackClass_Protocol_ViewModel.PartyAName));
......
......@@ -456,6 +456,7 @@ namespace Edu.WebApi.Controllers.Course
QOrderId = base.ParmJObj.GetInt("QOrderId"),
ProtocolNum = base.ParmJObj.GetStringValue("ProtocolNum"),
IsQueryAll=base.ParmJObj.GetInt("IsQueryAll"),
QCreateBy=base.ParmJObj.GetInt("QCreateBy"),
};
query.Group_Id = userInfo.Group_Id;
if (query.IsQueryAll == 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