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
0bec0b98
Commit
0bec0b98
authored
May 27, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
27f3b25e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
ExamWorkResult.cs
EduSpider.Model/Extend/ExamWorkResult.cs
+5
-0
StuHomeWorkRepository.cs
EduSpider.Repository/StuHomeWorkRepository.cs
+4
-3
CourseService.cs
EduSpider.Services/CourseService.cs
+2
-2
No files found.
EduSpider.Model/Extend/ExamWorkResult.cs
View file @
0bec0b98
...
@@ -126,5 +126,10 @@ namespace EduSpider.Model.Extend
...
@@ -126,5 +126,10 @@ namespace EduSpider.Model.Extend
/// 考试领先度
/// 考试领先度
/// </summary>
/// </summary>
public
decimal
ExamRankRate
{
get
;
set
;
}
public
decimal
ExamRankRate
{
get
;
set
;
}
/// <summary>
/// 教师姓名
/// </summary>
public
string
ThName
{
get
;
set
;
}
}
}
}
}
EduSpider.Repository/StuHomeWorkRepository.cs
View file @
0bec0b98
...
@@ -78,6 +78,7 @@ WHERE 1=1
...
@@ -78,6 +78,7 @@ WHERE 1=1
ScoreType
=
item
.
score_type
,
ScoreType
=
item
.
score_type
,
Score_Value
=
item
.
Score_value
,
Score_Value
=
item
.
Score_value
,
HomeWorkStatus
=
item
.
status
,
HomeWorkStatus
=
item
.
status
,
ThName
=
item
.
th_name
,
});
});
RowNum
++;
RowNum
++;
}
}
...
@@ -97,7 +98,7 @@ WHERE 1=1
...
@@ -97,7 +98,7 @@ WHERE 1=1
{
{
CreateTime
=
firstList
.
LastOrDefault
().
CreateTime
.
AddMinutes
(
1
),
CreateTime
=
firstList
.
LastOrDefault
().
CreateTime
.
AddMinutes
(
1
),
ResultType
=
3
,
ResultType
=
3
,
Title
=
"第一阶段
评语"
,
Title
=
firstList
.
LastOrDefault
().
ThName
+
"老师的
评语"
,
Comment
=
commentModel
?.
Info
Comment
=
commentModel
?.
Info
};
};
...
@@ -111,7 +112,7 @@ WHERE 1=1
...
@@ -111,7 +112,7 @@ WHERE 1=1
{
{
CreateTime
=
secondList
.
LastOrDefault
().
CreateTime
.
AddMinutes
(
1
),
CreateTime
=
secondList
.
LastOrDefault
().
CreateTime
.
AddMinutes
(
1
),
ResultType
=
3
,
ResultType
=
3
,
Title
=
"第二阶段
评语"
,
Title
=
secondList
.
LastOrDefault
().
ThName
+
"老师的
评语"
,
Comment
=
commentModel
?.
Info
Comment
=
commentModel
?.
Info
};
};
}
}
...
@@ -124,7 +125,7 @@ WHERE 1=1
...
@@ -124,7 +125,7 @@ WHERE 1=1
{
{
CreateTime
=
thirdList
.
LastOrDefault
().
CreateTime
.
AddMinutes
(
1
),
CreateTime
=
thirdList
.
LastOrDefault
().
CreateTime
.
AddMinutes
(
1
),
ResultType
=
3
,
ResultType
=
3
,
Title
=
"第三阶段
评语"
,
Title
=
thirdList
.
LastOrDefault
().
ThName
+
"老师的
评语"
,
Comment
=
commentModel
?.
Info
Comment
=
commentModel
?.
Info
};
};
}
}
...
...
EduSpider.Services/CourseService.cs
View file @
0bec0b98
...
@@ -127,7 +127,7 @@ namespace EduSpider.Services
...
@@ -127,7 +127,7 @@ namespace EduSpider.Services
obj
=
new
obj
=
new
{
{
item
.
Score
,
item
.
Score
,
item
.
Score_p
,
Score_p
=
item
.
Score_p
*
100
,
item
.
ScoreType
,
item
.
ScoreType
,
item
.
ScoreTypeStr
,
item
.
ScoreTypeStr
,
item
.
Score_Value
,
item
.
Score_Value
,
...
@@ -141,7 +141,7 @@ namespace EduSpider.Services
...
@@ -141,7 +141,7 @@ namespace EduSpider.Services
obj
=
new
obj
=
new
{
{
item
.
Score
,
item
.
Score
,
item
.
Score_p
,
Score_p
=
item
.
Score_p
*
100
,
item
.
ExamRank
,
item
.
ExamRank
,
item
.
ExamRankRate
,
item
.
ExamRankRate
,
};
};
...
...
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