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
e86c6bf9
Commit
e86c6bf9
authored
Oct 13, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下发BUG修复
parent
b4344e26
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
performance/Performance.Services/AllotCompute/ResultComputeService.cs
+7
-1
No files found.
performance/Performance.Services/AllotCompute/ResultComputeService.cs
View file @
e86c6bf9
...
...
@@ -496,6 +496,8 @@ public void GenerateSecondAllot(per_allot allot)
{
foreach
(
var
item
in
accountUnit
)
{
if
(!
tempSecond
.
Any
(
f
=>
f
.
UnitType
==
((
UnitType
)
item
.
UnitType
).
ToString
()
&&
f
.
Department
==
item
.
AccountingUnit
))
{
tempSecond
.
Add
(
new
ag_secondallot
{
AllotId
=
allot
.
ID
,
...
...
@@ -507,9 +509,12 @@ public void GenerateSecondAllot(per_allot allot)
});
}
}
}
if
(
specialList
!=
null
)
{
foreach
(
var
item
in
specialList
)
foreach
(
var
item
in
specialList
.
Select
(
w
=>
new
{
w
.
AccountingUnit
,
w
.
RealGiveFee
}).
Distinct
())
{
if
(!
tempSecond
.
Any
(
f
=>
f
.
UnitType
==
UnitType
.
特殊核算组
.
ToString
()
&&
f
.
Department
==
item
.
AccountingUnit
))
{
tempSecond
.
Add
(
new
ag_secondallot
{
...
...
@@ -522,6 +527,7 @@ public void GenerateSecondAllot(per_allot allot)
});
}
}
}
var
secondList
=
perforAgsecondallotRepository
.
GetEntities
(
t
=>
t
.
AllotId
==
allot
.
ID
&&
t
.
Year
==
allot
.
Year
&&
t
.
Month
==
allot
.
Month
);
...
...
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