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
6990e2ab
Commit
6990e2ab
authored
Jan 25, 2022
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hotfix/二次分配审核0隐藏' into develop
parents
a2f075bd
04acc2d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
performance/Performance.Services/CustomExtractService.cs
+2
-0
performance/Performance.Services/SecondAllotService.cs
+1
-1
No files found.
performance/Performance.Services/CustomExtractService.cs
View file @
6990e2ab
...
@@ -134,6 +134,8 @@ private void WriteDataToFile(int userId, per_allot allot, List<cust_script> scri
...
@@ -134,6 +134,8 @@ private void WriteDataToFile(int userId, per_allot allot, List<cust_script> scri
var
parameters
=
GetParameters
(
allot
);
var
parameters
=
GetParameters
(
allot
);
var
(
isSecondAdmin
,
department
,
unitType
)
=
GetUserDepartment
(
userId
);
var
(
isSecondAdmin
,
department
,
unitType
)
=
GetUserDepartment
(
userId
);
parameters
.
Add
(
"@department"
,
$"'
{
department
}
'"
);
parameters
.
Add
(
"@department"
,
$"'
{
department
}
'"
);
if
(
unitType
!=
null
&&
unitType
.
Any
())
parameters
.
Add
(
"@unittype"
,
$"
{
string
.
Join
(
", "
,
unitType
.
Select
(
t
=>
$"'
{
t
}
'"
))}
"
);
foreach
(
var
item
in
scripts
)
foreach
(
var
item
in
scripts
)
{
{
...
...
performance/Performance.Services/SecondAllotService.cs
View file @
6990e2ab
...
@@ -1551,7 +1551,7 @@ private List<ag_secondallot> SecondList(per_allot allot, List<res_account> accou
...
@@ -1551,7 +1551,7 @@ private List<ag_secondallot> SecondList(per_allot allot, List<res_account> accou
};
};
});
});
var
enums
=
EnumHelper
.
GetItems
<
UnitType
>();
var
enums
=
EnumHelper
.
GetItems
<
UnitType
>();
return
result
.
Where
(
w
=>
w
.
RealGiveFee
!=
0
)
return
result
.
Where
(
w
=>
w
.
RealGiveFee
.
HasValue
&&
w
.
RealGiveFee
!=
0
)
.
OrderBy
(
t
=>
t
.
Status
==
4
?
2
:
t
.
Status
)
.
OrderBy
(
t
=>
t
.
Status
==
4
?
2
:
t
.
Status
)
.
ThenBy
(
t
=>
enums
.
FirstOrDefault
(
f
=>
f
.
Name
==
t
.
UnitType
)?.
Value
)
.
ThenBy
(
t
=>
enums
.
FirstOrDefault
(
f
=>
f
.
Name
==
t
.
UnitType
)?.
Value
)
.
ThenBy
(
t
=>
t
.
Department
)
.
ThenBy
(
t
=>
t
.
Department
)
...
...
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