Commit 6d0347e0 authored by liudong1993's avatar liudong1993

1

parent e5e6daac
...@@ -22,7 +22,7 @@ namespace EduSpider.Repository ...@@ -22,7 +22,7 @@ namespace EduSpider.Repository
/// <returns></returns> /// <returns></returns>
public List<RB_Student> GetListForStuName(string stuNames) public List<RB_Student> GetListForStuName(string stuNames)
{ {
string sql = $"select StudId,StudentName from RB_Student where StudentName in({stuNames}) order by StudId desc"; string sql = $"select StudId,StudentUid,StudentName from RB_Student where StudentName in({stuNames}) order by StudId desc";
return Get<RB_Student>(sql).ToList(); return Get<RB_Student>(sql).ToList();
} }
} }
......
...@@ -121,7 +121,7 @@ namespace EduSpider.WebApi.Controllers ...@@ -121,7 +121,7 @@ namespace EduSpider.WebApi.Controllers
string path_server = "C:/Users/Administrator/Desktop/TempFile/化学成绩查询表.xlsx"; string path_server = "C:/Users/Administrator/Desktop/TempFile/化学成绩查询表.xlsx";
#region 解析文档数据并保存 #region 解析文档数据并保存
string rmsg = examService.ImportExcelForStuExamScore(path_server, 44977497, "测试一下化学", 11759328); string rmsg = examService.ImportExcelForStuExamScore(path_server, 44977497, "测试考试化学2", 11759328);
if (rmsg == "") if (rmsg == "")
{ {
return ApiResult.Success(); return ApiResult.Success();
......
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