Commit 2dbc74f7 by 纪旭 韦

no message

parent 10e4a442
...@@ -381,6 +381,32 @@ public ApiResponse GethosdataView([FromBody] BeginEndTime request) ...@@ -381,6 +381,32 @@ public ApiResponse GethosdataView([FromBody] BeginEndTime request)
} }
/// <summary> /// <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> /// </summary>
/// <param name="request"></param> /// <param name="request"></param>
......
...@@ -1670,6 +1670,13 @@ ...@@ -1670,6 +1670,13 @@
<param name="request"></param> <param name="request"></param>
<returns></returns> <returns></returns>
</member> </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)"> <member name="M:Performance.Api.Controllers.ReportController.GethosdataView(Performance.DtoModels.BeginEndTimeDown)">
<summary> <summary>
全院核算绩效发放(视图) 下载 全院核算绩效发放(视图) 下载
......
...@@ -3619,6 +3619,16 @@ ...@@ -3619,6 +3619,16 @@
创建时间 创建时间
</summary> </summary>
</member> </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"> <member name="T:Performance.EntityModels.ex_script">
<summary> <summary>
......
...@@ -59,6 +59,7 @@ public class BeginEndTime ...@@ -59,6 +59,7 @@ public class BeginEndTime
public int CurrentPage { get; set; } public int CurrentPage { get; set; }
public int PageSize { get; set; } public int PageSize { get; set; }
} }
public class BeginEndTimeDown public class BeginEndTimeDown
{ {
public string BeginTime { get; set; } // 2021-01 public string BeginTime { get; set; } // 2021-01
...@@ -66,6 +67,11 @@ public class BeginEndTimeDown ...@@ -66,6 +67,11 @@ public class BeginEndTimeDown
public int HospitalId { get; set; } public int HospitalId { get; set; }
} }
public class HospitalGrantSummary : BeginEndTime
{
public List<string> GroupBy { get; set; }
public List<string> SumBy { get; set; }
}
public class QueryComputeByDateGetPage public class QueryComputeByDateGetPage
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment