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
2fd9f80f
Commit
2fd9f80f
authored
Apr 14, 2022
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员字典标签功能
parent
612643ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
performance/Performance.Services/ReportGlobalService.cs
+3
-2
No files found.
performance/Performance.Services/ReportGlobalService.cs
View file @
2fd9f80f
...
...
@@ -544,9 +544,10 @@ private T GetCellValue<T>(IRow row, List<string> columns, string key)
public
HandsonTable
GetReportPersonTag
(
int
hospitalId
,
int
allotId
)
{
var
hos
=
_hospitalRepository
.
GetEntity
(
t
=>
t
.
ID
==
hospitalId
);
var
columnHeaders
=
_computeService
.
CustomColumnHeaders
(
hos
,
"/result/all_employee"
);
var
type
=
(
int
)
SheetType
.
Unidentifiable
;
var
cols
=
_computeService
.
CustomColumnHeaders
(
hos
,
"/result/all_employee"
).
Select
(
t
=>
t
.
Alias
).
ToArray
();
var
permissions
=
_computeService
.
CustomColumnHeaders
(
hos
,
"/result/all_employee"
).
Select
(
t
=>
new
collect_permission
{
HeadName
=
t
.
Alias
,
Visible
=
1
}).
ToList
();
var
cols
=
columnHeaders
.
Where
(
w
=>
w
.
States
==
1
).
Select
(
t
=>
t
.
Alias
).
ToArray
();
var
permissions
=
columnHeaders
.
Where
(
w
=>
w
.
States
==
1
).
Select
(
t
=>
new
collect_permission
{
HeadName
=
t
.
Alias
,
Visible
=
1
}).
ToList
();
var
result
=
new
HandsonTable
(
type
,
cols
,
permissions
);
var
pdata
=
perforPeremployeeRepository
.
GetEntities
(
t
=>
t
.
HospitalId
==
hospitalId
&&
t
.
AllotId
==
allotId
);
...
...
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