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
15e20c4a
Commit
15e20c4a
authored
Apr 28, 2022
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
归档总额显示错误BUG修复
parent
2177d123
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
performance/Performance.Services/RedistributionService.cs
+4
-4
No files found.
performance/Performance.Services/RedistributionService.cs
View file @
15e20c4a
...
...
@@ -362,13 +362,13 @@ public List<SecondColumnDictionary> GetTableHeaderDictionary(ComputeMode compute
head
.
AddOrUpdate
(
nameof
(
second
.
UnitType
),
second
.
UnitType
);
head
.
AddOrUpdate
(
nameof
(
ComputeMode
),
computeMode
);
head
.
AddOrUpdate
(
"ComputeModeDescription"
,
EnumHelper
.
GetDescription
(
computeMode
));
var
allotStates
=
new
int
[]
{
(
int
)
AllotStates
.
GenerateSucceed
,
(
int
)
AllotStates
.
Archive
};
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
SecondId
),
second
.
Id
);
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
PaymentOfTheMonth
),
$"
{
allot
.
Year
}
年
{
allot
.
Month
.
ToString
().
PadLeft
(
2
,
'0'
)}
月"
);
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
TotalDistPerformance
),
(
allot
.
States
==
(
int
)
AllotStates
.
GenerateSucceed
)
?
(
second
.
RealGiveFee
??
0
)
:
1000
);
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
NightShiftWorkPerforTotal
),
(
allot
.
States
==
(
int
)
AllotStates
.
GenerateSucceed
)
?
(
second
.
NightShiftWorkPerforFee
??
0
)
:
0
);
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
TotalDistPerformance
),
allotStates
.
Contains
(
allot
.
States
)
?
(
second
.
RealGiveFee
??
0
)
:
1000
);
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
NightShiftWorkPerforTotal
),
allotStates
.
Contains
(
allot
.
States
)
?
(
second
.
NightShiftWorkPerforFee
??
0
)
:
0
);
head
.
AddOrUpdate
(
nameof
(
ag_headsource
.
TotalPerformance
),
head
.
GetDecimal
(
nameof
(
ag_headsource
.
TotalDistPerformance
))
-
head
.
GetDecimal
(
nameof
(
ag_headsource
.
NightShiftWorkPerforTotal
)));
head
.
AddOrUpdate
(
"Remark"
,
(
allot
.
States
==
(
int
)
AllotStates
.
GenerateSucceed
)
?
""
:
"(非正式)"
);
head
.
AddOrUpdate
(
"Remark"
,
allotStates
.
Contains
(
allot
.
States
)
?
""
:
"(非正式)"
);
// 横向 纵向 特有顶部信息
if
(
computeMode
!=
ComputeMode
.
NotCalculate
)
{
...
...
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