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
37f00eca
Commit
37f00eca
authored
Feb 17, 2023
by
ryun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口定义
parent
33f085c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
0 deletions
+66
-0
performance/Performance.Api/Controllers/EmployeeController.cs
+52
-0
performance/Performance.DtoModels/Request/AprTypeRequest.cs
+14
-0
No files found.
performance/Performance.Api/Controllers/EmployeeController.cs
View file @
37f00eca
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
using
Microsoft.AspNetCore.StaticFiles
;
using
Microsoft.AspNetCore.StaticFiles
;
using
Newtonsoft.Json
;
using
Newtonsoft.Json
;
using
Performance.DtoModels
;
using
Performance.DtoModels
;
using
Performance.DtoModels.Request
;
using
Performance.DtoModels.Response
;
using
Performance.DtoModels.Response
;
using
Performance.EntityModels
;
using
Performance.EntityModels
;
using
Performance.Infrastructure
;
using
Performance.Infrastructure
;
...
@@ -1167,5 +1168,56 @@ public IActionResult DownloadGatherFile(string path)
...
@@ -1167,5 +1168,56 @@ public IActionResult DownloadGatherFile(string path)
return
File
(
memoryStream
,
memi
,
Path
.
GetFileName
(
fileInfo
.
Name
));
return
File
(
memoryStream
,
memi
,
Path
.
GetFileName
(
fileInfo
.
Name
));
}
}
#
endregion
#
endregion
#
region
医院其他绩效类型
/// <summary>
/// 医院其他绩效类型清单
/// </summary>
/// <param name="allotId"></param>
/// <returns></returns>
[
Route
(
"apr/type/list/{allotId}"
)]
[
HttpPost
]
public
ApiResponse
GetAprTypeList
([
FromRoute
]
int
allotId
)
{
return
new
ApiResponse
(
ResponseType
.
OK
);
}
/// <summary>
/// 医院其他绩效列表清单
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[
Route
(
"apr/type/insert"
)]
[
HttpPost
]
public
ApiResponse
InsertAprType
([
FromBody
]
AprTypeRequest
request
)
{
return
new
ApiResponse
(
ResponseType
.
OK
);
}
/// <summary>
/// 医院其他绩效列表清单
/// </summary>
/// <param name="typeId"></param>
/// <param name="request"></param>
/// <returns></returns>
[
Route
(
"apr/type/update"
)]
[
HttpPost
]
public
ApiResponse
UpdateAprType
([
FromQuery
]
int
typeId
,
[
FromBody
]
AprTypeRequest
request
)
{
return
new
ApiResponse
(
ResponseType
.
OK
);
}
/// <summary>
/// 医院其他绩效列表清单
/// </summary>
/// <param name="typeId"></param>
/// <returns></returns>
[
Route
(
"apr/type/delete"
)]
[
HttpPost
]
public
ApiResponse
DeleteAprType
([
FromQuery
]
int
typeId
)
{
return
new
ApiResponse
(
ResponseType
.
OK
);
}
#
endregion
}
}
}
}
performance/Performance.DtoModels/Request/AprTypeRequest.cs
0 → 100644
View file @
37f00eca
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
Performance.DtoModels.Request
{
public
class
AprTypeRequest
{
public
int
AllotId
{
get
;
set
;
}
public
string
PerforType
{
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