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
11d7cce9
Commit
11d7cce9
authored
Dec 30, 2021
by
纪旭 韦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉自定义列头不必要的代码
parent
be92e228
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
7 deletions
+1
-7
performance/Performance.Api/Controllers/ComputeController.cs
+1
-6
performance/Performance.DtoModels/Request/ComputerRequest.cs
+0
-1
No files found.
performance/Performance.Api/Controllers/ComputeController.cs
View file @
11d7cce9
...
...
@@ -386,12 +386,7 @@ 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
);
var
result
=
_computeService
.
CustomColumnHeaders
(
request
.
HospitalId
,
request
.
Route
);
return
new
ApiResponse
(
ResponseType
.
OK
,
result
);
}
...
...
performance/Performance.DtoModels/Request/ComputerRequest.cs
View file @
11d7cce9
...
...
@@ -49,7 +49,6 @@ public ComputerRequestValidator()
public
class
ComputerAliasRequest
{
public
string
[]
Heads
{
get
;
set
;
}
public
int
HospitalId
{
get
;
set
;
}
public
string
Route
{
get
;
set
;
}
...
...
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