Commit c302d513 authored by 黄奎's avatar 黄奎

页面修改

parent b7eefcf5
......@@ -147,7 +147,7 @@ namespace Edu.Module.User
else
{
var newId = assessment_SubtypeRepository.Insert(subItem);
model.Id = newId;
subItem.Id = newId;
flag = newId > 0;
}
}
......
......@@ -122,8 +122,11 @@ WHERE 1=1
{
builder.AppendFormat(" AND A.{0}={1} ", nameof(RB_Teacher_Assessment_Extend.Id), query.Id);
}
if (query.TeacherAccountId > 0)
{
builder.AppendFormat(" AND A.{0}={1} ", nameof(RB_Teacher_Assessment_Extend.TeacherAccountId), query.TeacherAccountId);
}
}
builder.AppendFormat(" AND A.{0}={1} ", nameof(RB_Teacher_Assessment_Extend.TeacherAccountId), query.TeacherAccountId);
return Get<RB_Teacher_Assessment_Extend>(builder.ToString()).FirstOrDefault();
}
}
......
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