Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
kaopu-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e4b5a541
authored
Dec 16, 2019
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加代码
parent
7c3fa71b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
cmd/static/detail/Common.go
cmd/static/detail/personal_credit.go
cmd/static/detail/Common.go
View file @
e4b5a541
...
...
@@ -95,6 +95,9 @@ func GetScore(projectId int64, stringVal string) (fianlscore float64) {
case
"5"
:
score
=
StringTurnFloat64
(
stringVal
)
/
10000
break
case
"7"
:
score
=
StringTurnFloat64
(
stringVal
)
/
100
break
default
:
score
=
StringTurnFloat64
(
stringVal
)
/
1
}
...
...
cmd/static/detail/personal_credit.go
View file @
e4b5a541
...
...
@@ -92,7 +92,7 @@ func MaxBeOverdueTwoYears() {
func
IsBeOverdue
()
{
p_currentScore
=
GetScore
(
2
3
,
CompanySoreFields
[
"is_exist_now_overdue"
])
p_currentScore
=
GetScore
(
2
4
,
CompanySoreFields
[
"is_exist_now_overdue"
])
p_totalScore
[
6
]
=
SetScore
(
p_currentScore
,
24
)
...
...
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