Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EduSpider
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
EduSpider
Commits
6d0347e0
Commit
6d0347e0
authored
May 26, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e5e6daac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
StudentRepository.cs
EduSpider.Repository/StudentRepository.cs
+1
-1
UploadController.cs
EduSpider.WebApi/Controllers/Upload/UploadController.cs
+1
-1
No files found.
EduSpider.Repository/StudentRepository.cs
View file @
6d0347e0
...
...
@@ -22,7 +22,7 @@ namespace EduSpider.Repository
/// <returns></returns>
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,Student
Uid,Student
Name from RB_Student where StudentName in(
{
stuNames
}
) order by StudId desc"
;
return
Get
<
RB_Student
>(
sql
).
ToList
();
}
}
...
...
EduSpider.WebApi/Controllers/Upload/UploadController.cs
View file @
6d0347e0
...
...
@@ -121,7 +121,7 @@ namespace EduSpider.WebApi.Controllers
string
path_server
=
"C:/Users/Administrator/Desktop/TempFile/化学成绩查询表.xlsx"
;
#
region
解析文档数据并保存
string
rmsg
=
examService
.
ImportExcelForStuExamScore
(
path_server
,
44977497
,
"测试
一下化学
"
,
11759328
);
string
rmsg
=
examService
.
ImportExcelForStuExamScore
(
path_server
,
44977497
,
"测试
考试化学2
"
,
11759328
);
if
(
rmsg
==
""
)
{
return
ApiResult
.
Success
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment