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
ed8edbdb
Commit
ed8edbdb
authored
Aug 05, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
eba46316
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
RB_Education_Contract_ViewModel.cs
...del/ViewModel/Contract/RB_Education_Contract_ViewModel.cs
+4
-4
No files found.
Edu.Model/ViewModel/Contract/RB_Education_Contract_ViewModel.cs
View file @
ed8edbdb
...
...
@@ -260,13 +260,13 @@ namespace Edu.Model.ViewModel.Contract
/// <summary>
/// 总课时数
/// </summary>
public
int
TotalClassHours
public
decimal
TotalClassHours
{
get
{
Int32
.
TryParse
(
this
.
FirstClassHours
.
ToString
(),
out
int
FirstClassHours
);
Int32
.
TryParse
(
this
.
SecondClassHours
.
ToString
(),
out
int
SecondClassHours
);
Int32
.
TryParse
(
this
.
ThirdClassHours
.
ToString
(),
out
int
ThirdClassHours
);
decimal
.
TryParse
(
this
.
FirstClassHours
.
ToString
(),
out
decimal
FirstClassHours
);
decimal
.
TryParse
(
this
.
SecondClassHours
.
ToString
(),
out
decimal
SecondClassHours
);
decimal
.
TryParse
(
this
.
ThirdClassHours
.
ToString
(),
out
decimal
ThirdClassHours
);
return
FirstClassHours
+
SecondClassHours
+
ThirdClassHours
;
}
}
...
...
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