diff --git a/Server/YD_XinWei.Commons/Dto/Open/StudentInfoDto.cs b/Server/YD_XinWei.Commons/Dto/Open/StudentInfoDto.cs
new file mode 100644
index 0000000..db0f6ff
--- /dev/null
+++ b/Server/YD_XinWei.Commons/Dto/Open/StudentInfoDto.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace YD_XinWei.Commons.Dto.Open
+{
+ public class StudentInfoDto
+ {
+ public int Id { get; set; }
+ public int UserId { get; set; }
+ public int OrgId { get; set; }
+ public int GradeId { get; set; }
+ public int RuleGradeId { get; set; }
+ public string GradeName { get; set; }
+ public int ClassId { get; set; }
+ public string ClassName { get; set; }
+ public string Name { get; set; }
+ public string Sex { get; set; }
+ public string StudentNo { get; set; }
+ public object CardNo { get; set; }
+ }
+}
diff --git a/Server/YD_XinWei.Commons/YD_XinWei.Commons.csproj b/Server/YD_XinWei.Commons/YD_XinWei.Commons.csproj
index 742a62d..e0b21a0 100644
--- a/Server/YD_XinWei.Commons/YD_XinWei.Commons.csproj
+++ b/Server/YD_XinWei.Commons/YD_XinWei.Commons.csproj
@@ -6,6 +6,12 @@
enable
+
+
+
+
+
+
diff --git a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.AssemblyInfo.cs b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.AssemblyInfo.cs
index 8c8446b..dc393f5 100644
--- a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.AssemblyInfo.cs
+++ b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.AssemblyInfo.cs
@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f9e7ba9c4f75cd95dbf6577e89978fa9bd53c86d")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6960116ae6c008c5643e1d5ce9066bc59a98acaf")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Commons")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.AssemblyInfoInputs.cache b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.AssemblyInfoInputs.cache
index 81033ea..bf2bf6d 100644
--- a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.AssemblyInfoInputs.cache
+++ b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.AssemblyInfoInputs.cache
@@ -1 +1 @@
-d593fbae3ac2c90695ef2d47985e3606ba2fc402099ac3a2d2e31f9b62198f75
+4e7fe5edebd11d394da607ad3b9b52a857c763c75897c2dd83821398e38bc68a
diff --git a/Server/YD_XinWei/Services/Impl/XinWeiService.cs b/Server/YD_XinWei/Services/Impl/XinWeiService.cs
index e2db77f..9cf490a 100644
--- a/Server/YD_XinWei/Services/Impl/XinWeiService.cs
+++ b/Server/YD_XinWei/Services/Impl/XinWeiService.cs
@@ -7,20 +7,35 @@ using YD_XinWei.Api.SmartSportsEntitys;
using YD_XinWei.Api.Utilities;
using YD_XinWei.Commons.Dto.Common;
using YD_XinWei.Commons.Dto.HomeWork;
+using YD_XinWei.Commons.Dto.Open;
using YD_XinWei.Commons.Dto.School;
namespace YD_XinWei.Api.Services.Impl
{
+ ///
+ /// 服务
+ ///
public class XinWeiService : IXinWeiService
{
public SmartSportsContext _sportsContext;
private readonly IMapper _mapper;
+ ///
+ /// 构造
+ ///
+ ///
+ ///
public XinWeiService(SmartSportsContext sportsContext, IMapper mapper)
{
_sportsContext = sportsContext;
_mapper = mapper;
}
+
+
+ ///
+ /// 项目模式
+ ///
+ ///
public async Task> SportsModelTypeList()
{
var res = await _sportsContext.XW_ProjectMode.Select(x => new ProjectModeDto()
@@ -33,6 +48,13 @@ namespace YD_XinWei.Api.Services.Impl
return res;
}
+
+ ///
+ /// 体育项目
+ ///
+ /// 学校Id
+ ///
+
public async Task> OrgSportsProjectList(int orgId)
{
var res = await _sportsContext.XW_TestingProject.Where(x => x.OrgId == orgId).Select(x => new TestingProjectDto()
@@ -46,5 +68,17 @@ namespace YD_XinWei.Api.Services.Impl
return res;
}
+
+ ///
+ /// 获取学生信息
+ ///
+ /// 学校Id
+ ///
+ public async Task> MinimumOfStudentInfoList(int orgId)
+ {
+ throw new NotImplementedException();
+ }
+
+
}
}
diff --git a/Server/YD_XinWei/Services/Interface/IXinWeiService.cs b/Server/YD_XinWei/Services/Interface/IXinWeiService.cs
index ade86ad..dee56a3 100644
--- a/Server/YD_XinWei/Services/Interface/IXinWeiService.cs
+++ b/Server/YD_XinWei/Services/Interface/IXinWeiService.cs
@@ -5,6 +5,7 @@ using YD_XinWei.Api.Entitys;
using YD_XinWei.Commons;
using YD_XinWei.Commons.Dto.Common;
using YD_XinWei.Commons.Dto.HomeWork;
+using YD_XinWei.Commons.Dto.Open;
using YD_XinWei.Commons.Dto.School;
namespace YD_XinWei.Api.Services.Interface
@@ -23,5 +24,12 @@ namespace YD_XinWei.Api.Services.Interface
/// 学校Id
///
Task> OrgSportsProjectList(int orgId);
+
+ ///
+ /// 获取学生信息
+ ///
+ /// 学校Id
+ ///
+ Task> MinimumOfStudentInfoList(int orgId);
}
}