Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
d0f4cf6c
Commit
d0f4cf6c
authored
Dec 31, 2021
by
lcx
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag '吴江放射科' into develop
二次绩效职称判空为0
parents
e2f79e1f
c01b3c46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
performance/Performance.Services/SecondAllot/SecondAllotService.cs
+2
-1
No files found.
performance/Performance.Services/SecondAllot/SecondAllotService.cs
View file @
d0f4cf6c
...
...
@@ -501,6 +501,7 @@ public void SaveSecondAllotHeadData(int secondId, string json)
agheadsourceRepository
.
Remove
(
exist
);
headsource
.
SecondId
=
secondId
;
headsource
.
SeniorityTitlesAccountedPerformance
??=
0
;
agheadsourceRepository
.
Add
(
headsource
);
string
[]
prefix
=
new
string
[]
{
"Workload_Ratio_"
,
"Workload_Amount_"
};
...
...
@@ -536,7 +537,7 @@ public void SaveSecondAllotHeadData(int secondId, string json)
SecondId
=
secondId
,
FieldId
=
fieldId
,
FieldName
=
i
==
0
?
typeName
+
"占比"
:
typeName
+
"金额"
,
Value
=
prefix
[
i
].
StartsWith
(
prefix
[
0
])
?
(
decimal
?)
Convert
.
ToDecimal
(
dict
[
fieldId
.
ToLower
()])
:
null
,
Value
=
prefix
[
i
].
StartsWith
(
prefix
[
0
])
?
ConvertHelper
.
To
<
decimal
?>
(
dict
[
fieldId
.
ToLower
()])
:
null
,
};
insertData
.
Add
(
source
);
...
...
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