Commit 4689bd02 authored by 黄奎's avatar 黄奎

页面修改

parent 8297ea29
...@@ -486,6 +486,7 @@ namespace Edu.Module.StudyAbroad ...@@ -486,6 +486,7 @@ namespace Edu.Module.StudyAbroad
public List<RB_Studyabroad_Type_Extend> GetStudyabroadTypeListModule(RB_Studyabroad_Type_Extend query) public List<RB_Studyabroad_Type_Extend> GetStudyabroadTypeListModule(RB_Studyabroad_Type_Extend query)
{ {
var list = studyabroad_TypeRepository.GetStudyabroadTypeListRepository(query); var list = studyabroad_TypeRepository.GetStudyabroadTypeListRepository(query);
return list; return list;
} }
......
...@@ -93,6 +93,7 @@ WHERE 1=1 ...@@ -93,6 +93,7 @@ WHERE 1=1
parameters.Add("Name", "%" + query.Name.Trim() + "%"); parameters.Add("Name", "%" + query.Name.Trim() + "%");
} }
} }
builder.AppendFormat(" OR A.CountryId=0 ");
builder.AppendFormat(" ORDER BY A.{0} ", nameof(RB_Studyabroad_Type_Extend.Num)); builder.AppendFormat(" ORDER BY A.{0} ", nameof(RB_Studyabroad_Type_Extend.Num));
return Get<RB_Studyabroad_Type_Extend>(builder.ToString(), parameters).ToList(); return Get<RB_Studyabroad_Type_Extend>(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