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
be92e228
Commit
be92e228
authored
Dec 30, 2021
by
纪旭 韦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决列头报错
parent
cc67323c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
performance/Performance.Api/Controllers/ComputeController.cs
+2
-0
performance/Performance.Services/ComputeService.cs
+1
-1
No files found.
performance/Performance.Api/Controllers/ComputeController.cs
View file @
be92e228
...
...
@@ -386,12 +386,14 @@ public ApiResponse<res_baiscnorm> EditHospitalAvg([FromBody] ComputerAvgRequest
[
HttpPost
]
public
ApiResponse
CustomColumnHeaders
([
FromBody
]
ComputerAliasRequest
request
)
{
if
(
request
.
Heads
!=
null
)
for
(
int
i
=
0
;
i
<
request
.
Heads
.
Length
;
i
++)
{
request
.
Heads
[
i
]
=
request
.
Heads
[
i
].
ToLower
();
}
var
result
=
_computeService
.
CustomColumnHeaders
(
request
.
HospitalId
,
request
.
Route
,
request
.
Heads
);
return
new
ApiResponse
(
ResponseType
.
OK
,
result
);
}
/// <summary>
...
...
performance/Performance.Services/ComputeService.cs
View file @
be92e228
...
...
@@ -2159,7 +2159,7 @@ public class ComputeConfig
{
public
static
List
<
cof_alias
>
PerformanceTotal
(
string
route
,
string
[]
heads
)
{
if
(
heads
.
Length
==
0
||
string
.
IsNullOrEmpty
(
heads
[
0
])
||
heads
[
0
]
==
null
)
if
(
heads
==
null
||
heads
.
Length
==
0
||
(
heads
.
Length
>
0
&&
heads
[
0
]
==
""
)
)
{
if
(
route
==
"/report/wholehospital_grant_summary"
)
return
AllComputeView
.
ToList
();
...
...
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