Commit 209ed13d authored by 黄奎's avatar 黄奎

页面修改

parent f7dc4e53
...@@ -45,5 +45,11 @@ namespace Edu.Common.Enum.StudyAbroad ...@@ -45,5 +45,11 @@ namespace Edu.Common.Enum.StudyAbroad
/// </summary> /// </summary>
[EnumField("日本初高中常规产品")] [EnumField("日本初高中常规产品")]
RBCGZCGCP = 7, RBCGZCGCP = 7,
/// <summary>
/// 日本初高中常规产品
/// </summary>
[EnumField("日本语言学校项目")]
RBYYXXXM =8,
} }
} }
...@@ -58,6 +58,14 @@ WHERE 1=1 ...@@ -58,6 +58,14 @@ WHERE 1=1
{ {
builder.AppendFormat(" AND A.{0}={1}", nameof(RB_StudyAbroad_ViewModel.SaleState),(int)query.SaleState); builder.AppendFormat(" AND A.{0}={1}", nameof(RB_StudyAbroad_ViewModel.SaleState),(int)query.SaleState);
} }
if (query.ProductType > 0)
{
builder.AppendFormat(" AND A.{0}={1}", nameof(RB_StudyAbroad_ViewModel.ProductType), (int)query.ProductType);
}
if (query.StudyCountryId > 0)
{
builder.AppendFormat(" AND A.{0}={1}", nameof(RB_StudyAbroad_ViewModel.StudyCountryId), query.StudyCountryId);
}
return GetPage<RB_StudyAbroad_ViewModel>(pageIndex, pageSize, out rowsCount, builder.ToString(), parameters).ToList(); return GetPage<RB_StudyAbroad_ViewModel>(pageIndex, pageSize, out rowsCount, builder.ToString(), parameters).ToList();
} }
} }
......
...@@ -223,6 +223,8 @@ namespace Edu.WebApi.Controllers.StudyAbroad ...@@ -223,6 +223,8 @@ namespace Edu.WebApi.Controllers.StudyAbroad
AuditType=base.ParmJObj.GetInt("AuditType"), AuditType=base.ParmJObj.GetInt("AuditType"),
SaleState=(SaleStateEnum)base.ParmJObj.GetInt("SaleState"), SaleState=(SaleStateEnum)base.ParmJObj.GetInt("SaleState"),
AuditState=base.ParmJObj.GetInt("AuditState"), AuditState=base.ParmJObj.GetInt("AuditState"),
ProductType=(StudyAbroadProductTypeEnum)base.ParmJObj.GetInt("ProductType"),
StudyCountryId=base.ParmJObj.GetInt("StudyCountryId"),
}; };
query.Group_Id = base.UserInfo.Group_Id; query.Group_Id = base.UserInfo.Group_Id;
List<object> result = new List<object>(); List<object> result = new List<object>();
......
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