Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
28f3c92f
Commit
28f3c92f
authored
Mar 01, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
4e8bfd2e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
528 additions
and
4 deletions
+528
-4
RB_Student_Static_Extend.cs
Edu.Model/ViewModel/User/RB_Student_Static_Extend.cs
+10
-0
StudentStatModule.cs
Edu.Module.User/StudentStatModule.cs
+516
-2
RB_Student_StaticRepository.cs
Edu.Repository/User/RB_Student_StaticRepository.cs
+1
-1
StudentStatController.cs
Edu.WebApi/Controllers/User/StudentStatController.cs
+1
-1
No files found.
Edu.Model/ViewModel/User/RB_Student_Static_Extend.cs
View file @
28f3c92f
...
...
@@ -114,6 +114,16 @@ namespace Edu.Model.ViewModel.User
/// </summary>
public
string
ItemName
{
get
;
set
;
}
/// <summary>
/// 去年年份
/// </summary>
public
int
FirstYearStr
{
get
;
set
;
}
/// <summary>
/// 当前年份
/// </summary>
public
int
SecondYearStr
{
get
;
set
;
}
/// <summary>
/// 第一年
/// </summary>
...
...
Edu.Module.User/StudentStatModule.cs
View file @
28f3c92f
This diff is collapsed.
Click to expand it.
Edu.Repository/User/RB_Student_StaticRepository.cs
View file @
28f3c92f
...
...
@@ -115,7 +115,7 @@ WHERE 1=1 AND A.Date<>'0001-01-01 00:00:00'
}
if
(
query
.
YearStr
>
0
)
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Student_Static_Extend
.
YearStr
),
query
.
YearStr
);
builder
.
AppendFormat
(
" AND A.{0}
<
={1} "
,
nameof
(
RB_Student_Static_Extend
.
YearStr
),
query
.
YearStr
);
}
}
builder
.
AppendFormat
(
" GROUP BY A.YearStr "
);
...
...
Edu.WebApi/Controllers/User/StudentStatController.cs
View file @
28f3c92f
...
...
@@ -561,7 +561,7 @@ namespace Edu.WebApi.Controllers.User
{
var
query
=
new
RB_Student_Static_Extend
()
{
//
YearStr = base.ParmJObj.GetInt("YearStr"),
YearStr
=
base
.
ParmJObj
.
GetInt
(
"YearStr"
),
};
query
.
Group_Id
=
base
.
UserInfo
.
Group_Id
;
var
list
=
studentStatModule
.
GetStudentStaticListYearModule
(
query
);
...
...
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