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
ab222643
Commit
ab222643
authored
Oct 22, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限过滤
parent
e10576de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
performance/Performance.Api/Controllers/CollectController.cs
+4
-3
performance/Performance.Services/CollectService.cs
+1
-1
No files found.
performance/Performance.Api/Controllers/CollectController.cs
View file @
ab222643
...
...
@@ -71,9 +71,10 @@ public ApiResponse GetCollectSheet(int hospitalId)
var
regex
=
new
Regex
(
"^[0-9]"
);
var
userId
=
claim
.
GetUserId
();
var
result
=
collectService
.
GetCollectSheet
(
hospitalId
,
userId
)
?.
Select
(
w
=>
new
{
w
.
SheetType
,
w
.
SheetName
})
.
Distinct
()
.
ToList
();
.
Where
(
w
=>
!
collectService
.
retain
.
Contains
(
w
.
HeadName
))
?.
Select
(
w
=>
new
{
w
.
SheetType
,
w
.
SheetName
})
.
Distinct
()
.
ToList
();
//result?.Add(new { SheetType = -1, SheetName = "预留比例" });
if
(
result
==
null
||
!
result
.
Any
())
return
new
ApiResponse
(
ResponseType
.
OK
,
result
);
...
...
performance/Performance.Services/CollectService.cs
View file @
ab222643
...
...
@@ -56,7 +56,7 @@ public class CollectService : IAutoInjection
this
.
options
=
options
.
Value
;
}
p
rivate
readonly
string
[]
retain
=
new
[]
{
"核算单元(医技组)"
,
"核算单元(医生组)"
,
"核算单元(护理组)"
,
"科室名称"
,
"核算单元"
,
p
ublic
string
[]
retain
{
get
;
}
=
new
[]
{
"核算单元(医技组)"
,
"核算单元(医生组)"
,
"核算单元(护理组)"
,
"科室名称"
,
"核算单元"
,
"核算单元类型"
,
"人员工号"
,
"医生姓名"
,
"姓名"
,
"核算单元分类"
,
"人员分类"
};
/// <summary>
...
...
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