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
2216a3d0
Commit
2216a3d0
authored
May 30, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
33054781
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Exam_ScoreRepository.cs
EduSpider.Repository/Exam_ScoreRepository.cs
+1
-1
LoginController.cs
EduSpider.WebApi/Controllers/User/LoginController.cs
+1
-1
No files found.
EduSpider.Repository/Exam_ScoreRepository.cs
View file @
2216a3d0
...
@@ -36,7 +36,7 @@ WHERE 1=1
...
@@ -36,7 +36,7 @@ WHERE 1=1
}
}
if
(!
string
.
IsNullOrEmpty
(
query
.
StuIds
))
if
(!
string
.
IsNullOrEmpty
(
query
.
StuIds
))
{
{
builder
.
AppendFormat
(
" AND A.{0} IN({1}) "
,
nameof
(
RB_Exam_Score_Extend
.
StuId
),
query
.
StuIds
);
builder
.
AppendFormat
(
" AND A.{0} IN({1}) "
,
nameof
(
RB_Exam_Score_Extend
.
Stu
U
Id
),
query
.
StuIds
);
}
}
}
}
return
Get
<
RB_Exam_Score_Extend
>(
builder
.
ToString
()).
ToList
();
return
Get
<
RB_Exam_Score_Extend
>(
builder
.
ToString
()).
ToList
();
...
...
EduSpider.WebApi/Controllers/User/LoginController.cs
View file @
2216a3d0
...
@@ -119,7 +119,7 @@ namespace EduSpider.WebApi.Controllers
...
@@ -119,7 +119,7 @@ namespace EduSpider.WebApi.Controllers
{
{
return
ApiResult
.
Failed
(
message
:
"手机号码登录失败、跳转至账号登录"
,
new
{
Error
=
-
1
});
return
ApiResult
.
Failed
(
message
:
"手机号码登录失败、跳转至账号登录"
,
new
{
Error
=
-
1
});
}
}
int
AccountType
=
jobj
.
GetInt
(
"AccountType"
,
1
);
int
AccountType
=
jobj
.
GetInt
(
"AccountType"
,
2
);
var
model
=
AccountService
.
GetAccountList
(
new
RB_Account_Extend
()
var
model
=
AccountService
.
GetAccountList
(
new
RB_Account_Extend
()
{
{
...
...
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