返回结构说明

parent ad457281
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Performance.DtoModels; using Performance.DtoModels;
using Performance.EntityModels.Entity; using Performance.EntityModels.Entity;
using Performance.EntityModels.Other; using Performance.EntityModels.Other;
...@@ -61,6 +62,7 @@ public ApiResponse<List<view_attendance>> GetCallIn(int allotId) ...@@ -61,6 +62,7 @@ public ApiResponse<List<view_attendance>> GetCallIn(int allotId)
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpGet("CallIn/GetBatch")] [HttpGet("CallIn/GetBatch")]
[ProducesResponseType(typeof(HandsonTable), StatusCodes.Status200OK)]
public ApiResponse GetBatchCallInHandsonTable() public ApiResponse GetBatchCallInHandsonTable()
{ {
// 返回HandsonTable格式调动记录 // 返回HandsonTable格式调动记录
...@@ -132,6 +134,7 @@ public ApiResponse DeleteAttendanceType(int id) ...@@ -132,6 +134,7 @@ public ApiResponse DeleteAttendanceType(int id)
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpGet("Vacation")] [HttpGet("Vacation")]
[ProducesResponseType(typeof(HandsonTable), StatusCodes.Status200OK)]
public ApiResponse GetAttendanceVacationHandsonTable() public ApiResponse GetAttendanceVacationHandsonTable()
{ {
// 返回HandsonTable格式考勤记录 // 返回HandsonTable格式考勤记录
......
...@@ -373,7 +373,7 @@ ...@@ -373,7 +373,7 @@
</member> </member>
<member name="M:Performance.Api.Controllers.AttendanceController.GetAttendanceVacation(System.Int32,System.Int32)"> <member name="M:Performance.Api.Controllers.AttendanceController.GetAttendanceVacation(System.Int32,System.Int32)">
<summary> <summary>
查询AttendanceVacation 查询考勤记录
</summary> </summary>
<param name="allotId"></param> <param name="allotId"></param>
<param name="hospitalId"></param> <param name="hospitalId"></param>
......
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