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
a1d0c270
Commit
a1d0c270
authored
Mar 30, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
6fc40df9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
OrderResourceEnum.cs
Edu.Common/Enum/Finance/OrderResourceEnum.cs
+6
-0
FinanceController.cs
Edu.WebApi/Controllers/Finance/FinanceController.cs
+3
-2
No files found.
Edu.Common/Enum/Finance/OrderResourceEnum.cs
View file @
a1d0c270
...
...
@@ -104,5 +104,11 @@ namespace Edu.Common.Enum.Finance
/// </summary>
[
EnumField
(
"教育"
)]
Education
=
17
,
/// <summary>
/// 教育留学
/// </summary>
[
EnumField
(
"教育留学"
)]
EducationStudy
=
18
,
}
}
Edu.WebApi/Controllers/Finance/FinanceController.cs
View file @
a1d0c270
...
...
@@ -30,7 +30,7 @@ namespace Edu.WebApi.Controllers.Finance
private
readonly
TeachingRewardsModule
teachingRewardsModule
=
AOP
.
AOPHelper
.
CreateAOPObject
<
TeachingRewardsModule
>();
/// <summary>
/// 获取班级收支明细
/// 获取班级
/留学就业
收支明细
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
...
...
@@ -38,7 +38,8 @@ namespace Edu.WebApi.Controllers.Finance
{
int
classId
=
base
.
ParmJObj
.
GetInt
(
"ClassId"
,
0
);
int
schoolId
=
base
.
ParmJObj
.
GetInt
(
"School_Id"
);
if
(
classId
<=
0
)
int
SourceId
=
base
.
ParmJObj
.
GetInt
(
"SourceId"
);
if
(
classId
<=
0
&&
SourceId
<=
0
)
{
return
ApiResult
.
Failed
(
"班级Id不存在"
);
}
...
...
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