说是
This commit is contained in:
parent
0fe6b99020
commit
1c36de9ae0
13
Server/YD_XinWei.Commons/Dto/Open/FaceListOfDeviceDto.cs
Normal file
13
Server/YD_XinWei.Commons/Dto/Open/FaceListOfDeviceDto.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace YD_XinWei.Commons.Dto.Open
|
||||||
|
{
|
||||||
|
public class FaceListOfDeviceDto : PageDto
|
||||||
|
{
|
||||||
|
public int OrgId { get; set; }
|
||||||
|
}
|
||||||
|
}
|
39
Server/YD_XinWei.Commons/Dto/Open/FaceListOfDevicePageDto.cs
Normal file
39
Server/YD_XinWei.Commons/Dto/Open/FaceListOfDevicePageDto.cs
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace YD_XinWei.Commons.Dto.Open
|
||||||
|
{
|
||||||
|
public class FaceListOfDevicePageDto
|
||||||
|
{
|
||||||
|
public int Total { get; set; }
|
||||||
|
public int PageNum { get; set; }
|
||||||
|
public int PageSize { get; set; }
|
||||||
|
public int Size { get; set; }
|
||||||
|
public int StartRow { get; set; }
|
||||||
|
public int EndRow { get; set; }
|
||||||
|
public int Pages { get; set; }
|
||||||
|
public int PrePage { get; set; }
|
||||||
|
public int NextPage { get; set; }
|
||||||
|
public bool IsFirstPage { get; set; }
|
||||||
|
public bool IsLastPage { get; set; }
|
||||||
|
public bool HasPreviousPage { get; set; }
|
||||||
|
public bool HasNextPage { get; set; }
|
||||||
|
public int NavigatePages { get; set; }
|
||||||
|
public List<int> NavigatePageNums { get; set; } = new List<int>();
|
||||||
|
public int NavigateFirstPage { get; set; }
|
||||||
|
public int NavigateLastPage { get; set; }
|
||||||
|
public List<DeviceUserFaceVo> List { get; set; } = new List<DeviceUserFaceVo>();
|
||||||
|
}
|
||||||
|
|
||||||
|
public class DeviceUserFaceVo
|
||||||
|
{
|
||||||
|
public int UserId { get; set; }
|
||||||
|
public int FaceType { get; set; }
|
||||||
|
public string FaceUrl { get; set; } = string.Empty;
|
||||||
|
public string FaceId { get; set; } = string.Empty;
|
||||||
|
public string PersonId { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
20
Server/YD_XinWei.Commons/Dto/PageDataDto.cs
Normal file
20
Server/YD_XinWei.Commons/Dto/PageDataDto.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
|
||||||
|
namespace YD_XinWei.Commons.Dto
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 通用分页返回
|
||||||
|
/// </summary>
|
||||||
|
public class PageDataDto<T>
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 总页数
|
||||||
|
/// </summary>
|
||||||
|
public int Total { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 数据集合
|
||||||
|
/// </summary>
|
||||||
|
public List<T> List { get; set; }
|
||||||
|
}
|
||||||
|
}
|
24
Server/YD_XinWei.Commons/Dto/PageDto.cs
Normal file
24
Server/YD_XinWei.Commons/Dto/PageDto.cs
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
namespace YD_XinWei.Commons.Dto
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 分页
|
||||||
|
/// </summary>
|
||||||
|
public class PageDto
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 页码
|
||||||
|
/// </summary>
|
||||||
|
[Required(ErrorMessage = "页码参数不能为空")]
|
||||||
|
[Range(1, int.MaxValue, ErrorMessage = "参数必须大于0")]
|
||||||
|
public int PageNo { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 每页行数
|
||||||
|
/// </summary>
|
||||||
|
[Required(ErrorMessage = "行数不能为空")]
|
||||||
|
[Range(1, int.MaxValue, ErrorMessage = "参数必须大于0")]
|
||||||
|
public int PageSize { get; set; }
|
||||||
|
}
|
||||||
|
}
|
@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+3745c9b034aa32c859c2d39720b663ab8b57b93c")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0fe6b9902074841df3483134524084275defee80")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")]
|
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
@ -1 +1 @@
|
|||||||
7f5729c2855c8794a38d2fceb144dfef3fa094ba9f16db5f184e9ffaf1240877
|
05848327760aee62efe2eb50ea063d214c9b014ac40e23aa82e46c4c180418cf
|
||||||
|
@ -31,5 +31,12 @@ namespace YD_XinWei.Api.Services.Interface
|
|||||||
/// <param name="orgId">学校Id</param>
|
/// <param name="orgId">学校Id</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
Task<List<StudentInfoDto>> MinimumOfStudentInfoList(int orgId);
|
Task<List<StudentInfoDto>> MinimumOfStudentInfoList(int orgId);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取人脸信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="dto"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
Task<List<FaceListOfDevicePageDto>> FaceListOfDevicePage(FaceListOfDeviceDto dto);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user