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
33f085c7
Commit
33f085c7
authored
Feb 10, 2023
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去重
parent
1220c4ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
performance/Performance.Api/Controllers/EmployeeController.cs
+4
-4
No files found.
performance/Performance.Api/Controllers/EmployeeController.cs
View file @
33f085c7
...
...
@@ -341,7 +341,7 @@ public ApiResponse GetAprDetail([FromBody] AprAmountAuditRequest request)
{
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
),
Remark
=
string
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
)),
Remark
=
string
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
)
.
Distinct
()
),
})
});
return
new
ApiResponse
(
ResponseType
.
OK
,
"ok"
,
result
);
...
...
@@ -541,7 +541,7 @@ public ApiResponse AprOverview(int allotId)
Detail
=
t
.
GroupBy
(
group
=>
group
.
PerforType
).
Select
(
s
=>
new
{
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Remark
=
string
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
)),
Remark
=
string
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
)
.
Distinct
()
),
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
)
})
});
...
...
@@ -711,7 +711,7 @@ public ApiResponse GetAprHideDetail([FromBody] per_apr_amount request)
{
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
),
Remark
=
string
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
)),
Remark
=
string
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
)
.
Distinct
()
),
})
});
return
new
ApiResponse
(
ResponseType
.
OK
,
"ok"
,
result
);
...
...
@@ -901,7 +901,7 @@ public ApiResponse AprHideOverview(int allotId)
Detail
=
t
.
GroupBy
(
group
=>
group
.
PerforType
).
Select
(
s
=>
new
{
Title
=
string
.
IsNullOrEmpty
(
s
.
Key
)
?
"未知"
:
s
.
Key
,
Remark
=
string
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
)),
Remark
=
string
.
Join
(
";"
,
s
.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Remark
)).
Select
(
w
=>
w
.
Remark
)
.
Distinct
()
),
Value
=
s
.
Sum
(
sum
=>
sum
.
Amount
??
0
)
})
});
...
...
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