Commit 55bc8006 authored by 黄奎's avatar 黄奎

页面修改

parent f22c36be
......@@ -15,6 +15,59 @@ namespace Edu.Model.ViewModel.EduTask
/// </summary>
public string Q_Change_ClassPlan_Ids { get; set; }
/// <summary>
/// 班级名称
/// </summary>
public string ClassName { get; set; }
/// <summary>
/// 调动类型字符串
/// </summary>
public string ChangeTypeStr
{
get
{
string str = "";
if (this.ChangeType == 1)
{
str = "课程";
}
else if (this.ChangeType == 2)
{
str = "老师";
}
else if (this.ChangeType == 3)
{
str = "教室";
}
else if (this.ChangeType == 4)
{
str = "取消课程";
}
return str;
}
}
/// <summary>
/// 调动选项字符串
/// </summary>
public string MoveTypeStr
{
get
{
string str = "";
if (this.MoveType == 1)
{
str = "固定日期";
}
else if (this.MoveType == 2)
{
str = "全局调整";
}
return str;
}
}
/// <summary>
/// 调整原数据信息
/// </summary>
......
......@@ -50,8 +50,8 @@ namespace Edu.Repository.EduTask
{
StringBuilder builder = new StringBuilder();
builder.AppendFormat(@"
SELECT A.*
FROM RB_Change_ClassPlan AS A
SELECT A.*,IFNULL(B.ClassName,'') AS ClassName
FROM RB_Change_ClassPlan AS A LEFT JOIN rb_class AS B ON A.ClassId=B.ClassId
WHERE 1=1
");
if (query != null)
......
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