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
2dbc74f7
Commit
2dbc74f7
authored
Dec 29, 2021
by
纪旭 韦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
10e4a442
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
0 deletions
+49
-0
performance/Performance.Api/Controllers/ReportController.cs
+26
-0
performance/Performance.Api/wwwroot/Performance.Api.xml
+7
-0
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+10
-0
performance/Performance.DtoModels/Request/ComputerRequest.cs
+6
-0
No files found.
performance/Performance.Api/Controllers/ReportController.cs
View file @
2dbc74f7
...
...
@@ -381,6 +381,32 @@ public ApiResponse GethosdataView([FromBody] BeginEndTime request)
}
/// <summary>
/// 全院核算绩效发放汇总表(视图)
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[
Route
(
"wholehospital_grant_summary"
)]
[
HttpPost
]
public
ApiResponse
GetWholeHospitalGrantSummary
([
FromBody
]
HospitalGrantSummary
request
)
{
DateTime
bdate
=
DateTime
.
Now
;
DateTime
edate
=
DateTime
.
Now
;
if
(
string
.
IsNullOrEmpty
(
request
.
BeginTime
)
||
!
DateTime
.
TryParse
(
request
.
BeginTime
,
out
bdate
)
||
string
.
IsNullOrEmpty
(
request
.
EndTime
)
||
!
DateTime
.
TryParse
(
request
.
EndTime
,
out
edate
))
throw
new
PerformanceException
(
"请输入正确的时间"
);
var
datas
=
_computeService
.
GetAllComputeViewByDate
(
"view_allot_sign_dept"
,
bdate
,
edate
.
AddMonths
(
1
));
if
(
null
==
datas
)
throw
new
PerformanceException
(
"当前绩效记录不存在"
);
var
selectdata
=
request
.
GroupBy
.
Union
(
request
.
SumBy
);
var
data
=
datas
.
GroupBy
(
t
=>
new
{
t
.
UnitName
});
return
new
ApiResponse
(
ResponseType
.
OK
,
"ok"
,
data
);
}
/// <summary>
/// 全院核算绩效发放(视图) 下载
/// </summary>
/// <param name="request"></param>
...
...
performance/Performance.Api/wwwroot/Performance.Api.xml
View file @
2dbc74f7
...
...
@@ -1670,6 +1670,13 @@
<param
name=
"request"
></param>
<returns></returns>
</member>
<member
name=
"M:Performance.Api.Controllers.ReportController.GetWholeHospitalGrantSummary(Performance.DtoModels.HospitalGrantSummary)"
>
<summary>
全院核算绩效发放汇总表(视图)
</summary>
<param
name=
"request"
></param>
<returns></returns>
</member>
<member
name=
"M:Performance.Api.Controllers.ReportController.GethosdataView(Performance.DtoModels.BeginEndTimeDown)"
>
<summary>
全院核算绩效发放(视图) 下载
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
2dbc74f7
...
...
@@ -3619,6 +3619,16 @@
创建时间
</summary>
</member>
<member
name=
"P:Performance.EntityModels.ex_result_gather.Remark"
>
<summary>
备注
</summary>
</member>
<member
name=
"P:Performance.EntityModels.ex_result_gather.States"
>
<summary>
1 未通过 2 通过
</summary>
</member>
<member
name=
"T:Performance.EntityModels.ex_script"
>
<summary>
...
...
performance/Performance.DtoModels/Request/ComputerRequest.cs
View file @
2dbc74f7
...
...
@@ -59,6 +59,7 @@ public class BeginEndTime
public
int
CurrentPage
{
get
;
set
;
}
public
int
PageSize
{
get
;
set
;
}
}
public
class
BeginEndTimeDown
{
public
string
BeginTime
{
get
;
set
;
}
// 2021-01
...
...
@@ -66,6 +67,11 @@ public class BeginEndTimeDown
public
int
HospitalId
{
get
;
set
;
}
}
public
class
HospitalGrantSummary
:
BeginEndTime
{
public
List
<
string
>
GroupBy
{
get
;
set
;
}
public
List
<
string
>
SumBy
{
get
;
set
;
}
}
public
class
QueryComputeByDateGetPage
{
...
...
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