diff --git a/Server/YD_XinWei.Commons/bin/Debug/net6.0/YD_XinWei.Commons.dll b/Server/YD_XinWei.Commons/bin/Debug/net6.0/YD_XinWei.Commons.dll index 2b987ce..87fe90c 100644 Binary files a/Server/YD_XinWei.Commons/bin/Debug/net6.0/YD_XinWei.Commons.dll and b/Server/YD_XinWei.Commons/bin/Debug/net6.0/YD_XinWei.Commons.dll differ diff --git a/Server/YD_XinWei.Commons/bin/Debug/net6.0/YD_XinWei.Commons.pdb b/Server/YD_XinWei.Commons/bin/Debug/net6.0/YD_XinWei.Commons.pdb index a1cfe6e..fc441e9 100644 Binary files a/Server/YD_XinWei.Commons/bin/Debug/net6.0/YD_XinWei.Commons.pdb and b/Server/YD_XinWei.Commons/bin/Debug/net6.0/YD_XinWei.Commons.pdb differ 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 f380473..8c8446b 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+127a15267ac6ff77a5766dcb035bd2e04cf6e8e7")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f9e7ba9c4f75cd95dbf6577e89978fa9bd53c86d")] [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 1a12541..81033ea 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 @@ -bcf72474e9b0f9dd6729035be1d7411654cf56b0d6aec07d76313a08c3eadebd +d593fbae3ac2c90695ef2d47985e3606ba2fc402099ac3a2d2e31f9b62198f75 diff --git a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.dll b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.dll index 2b987ce..87fe90c 100644 Binary files a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.dll and b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.dll differ diff --git a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.pdb b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.pdb index a1cfe6e..fc441e9 100644 Binary files a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.pdb and b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.pdb differ diff --git a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.sourcelink.json b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.sourcelink.json index b4110f5..7c36bf7 100644 --- a/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.sourcelink.json +++ b/Server/YD_XinWei.Commons/obj/Debug/net6.0/YD_XinWei.Commons.sourcelink.json @@ -1 +1 @@ -{"documents":{"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\*":"https://dev.azure.com/tanglong10081/YD_XinWei/_apis/git/repositories/YD_XinWei/items?api-version=1.0&versionType=commit&version=127a15267ac6ff77a5766dcb035bd2e04cf6e8e7&path=/*"}} \ No newline at end of file +{"documents":{"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\*":"https://dev.azure.com/tanglong10081/YD_XinWei/_apis/git/repositories/YD_XinWei/items?api-version=1.0&versionType=commit&version=f9e7ba9c4f75cd95dbf6577e89978fa9bd53c86d&path=/*"}} \ No newline at end of file diff --git a/Server/YD_XinWei.Commons/obj/Debug/net6.0/ref/YD_XinWei.Commons.dll b/Server/YD_XinWei.Commons/obj/Debug/net6.0/ref/YD_XinWei.Commons.dll index 25c2c19..00f4f86 100644 Binary files a/Server/YD_XinWei.Commons/obj/Debug/net6.0/ref/YD_XinWei.Commons.dll and b/Server/YD_XinWei.Commons/obj/Debug/net6.0/ref/YD_XinWei.Commons.dll differ diff --git a/Server/YD_XinWei.Commons/obj/Debug/net6.0/refint/YD_XinWei.Commons.dll b/Server/YD_XinWei.Commons/obj/Debug/net6.0/refint/YD_XinWei.Commons.dll index 25c2c19..00f4f86 100644 Binary files a/Server/YD_XinWei.Commons/obj/Debug/net6.0/refint/YD_XinWei.Commons.dll and b/Server/YD_XinWei.Commons/obj/Debug/net6.0/refint/YD_XinWei.Commons.dll differ diff --git a/Server/YD_XinWei/AutoMappers/MappingProfile.cs b/Server/YD_XinWei/AutoMappers/MappingProfile.cs index 9e1e338..2e39ee8 100644 --- a/Server/YD_XinWei/AutoMappers/MappingProfile.cs +++ b/Server/YD_XinWei/AutoMappers/MappingProfile.cs @@ -13,9 +13,7 @@ namespace YD_XinWei.Api.AutoMappers // CreateMap(); // ... - CreateMap(); - CreateMap(); - CreateMap(); + //CreateMap(); } } } diff --git a/Server/YD_XinWei/Context/SmartSportsContext.cs b/Server/YD_XinWei/Context/SmartSportsContext.cs index 514c203..693a261 100644 --- a/Server/YD_XinWei/Context/SmartSportsContext.cs +++ b/Server/YD_XinWei/Context/SmartSportsContext.cs @@ -13,12 +13,6 @@ namespace YD_XinWei.Api.Context { } public DbSet Class { get; set; } - public DbSet ClassAssocTeacher { get; set; } - public DbSet HomeWork { get; set; } - public DbSet HomeWorkStudents { get; set; } - public DbSet Student { get; set; } - public DbSet SubmittedAssignments { get; set; } - public DbSet Teacher { get; set; } public DbSet Sys_User { get; set; } public DbSet XW_ProjectMode { get; set; } diff --git a/Server/YD_XinWei/Controllers/HomeWorkController.cs b/Server/YD_XinWei/Controllers/HomeWorkController.cs deleted file mode 100644 index cea5918..0000000 --- a/Server/YD_XinWei/Controllers/HomeWorkController.cs +++ /dev/null @@ -1,61 +0,0 @@ -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using YD_XinWei.Api.Services.Impl; -using YD_XinWei.Api.Services.Interface; -using YD_XinWei.Commons.Dto.HomeWork; -using YD_XinWei.Commons.Dto.School; - -namespace YD_XinWei.Api.Controllers -{ - /// - /// 作业 - /// - [ApiController] - [ApiExplorerSettings(GroupName = "v1")] - [Route("[controller]")] - public class HomeWorkController : ControllerBase - { - private readonly IHomeWorkService _homeWorkService; - public HomeWorkController(IHomeWorkService homeWorkService) - { - _homeWorkService = homeWorkService; - } - - /// - /// 新增作业 - /// - /// - /// - [HttpPost("AddHomeWork")] - public async Task ClassListbyTeacher([FromBody] AddHomeWorkDto paramDto) - { - await _homeWorkService.AddHomeWork(paramDto); - return Ok("新增作业成功"); - } - - /// - /// 作业记录 - /// - /// - /// - [HttpGet("HomeWorkRecord")] - public async Task> HomeWorkRecord(string teacherPhoneNo) - { - var res = await _homeWorkService.HomeWorkRecord(teacherPhoneNo); - return res; - } - - /// - /// 作业详情 - /// - /// - /// - [HttpGet("HomeWorkDetails")] - public async Task HomeWorkDetails(int homeWorkId) - { - var res = await _homeWorkService.HomeWorkDetails(homeWorkId); - return res; - } - } -} diff --git a/Server/YD_XinWei/Controllers/TeacherController.cs b/Server/YD_XinWei/Controllers/TeacherController.cs deleted file mode 100644 index 49a5ba4..0000000 --- a/Server/YD_XinWei/Controllers/TeacherController.cs +++ /dev/null @@ -1,56 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using YD_XinWei.Api.Services.Interface; -using YD_XinWei.Commons.Dto.Teacher; - -namespace YD_XinWei.Api.Controllers -{ - /// - /// 老师端 - /// - [ApiController] - [ApiExplorerSettings(GroupName = "v1")] - [Route("[controller]")] - public class TeacherController : ControllerBase - { - private readonly ITeacherService _teacherService; - public TeacherController(ITeacherService teacherService) - { - _teacherService = teacherService; - } - - /// - /// 老师个人信息 - /// - /// - [HttpGet("TeacherProfile")] - public async Task TeacherProfile() - { - var res = await _teacherService.TeacherProfile(); - return res; - } - - /// - /// 修改个人信息 - /// - /// - /// - [HttpPost("ModifyTeacherProfile")] - public async Task ModifyTeacherProfile([FromBody] TeacherProfileDto paramDto) - { - await _teacherService.ModifyTeacherProfile(paramDto); - return Ok("修改成功"); - } - - /// - /// 修改密码 - /// - /// - /// - [HttpPost("ModifyTeacherPwd")] - public async Task ModifyTeacherPwd([FromBody] ModifyTeacherPwdDto paramDto) - { - await _teacherService.ModifyTeacherPwd(paramDto); - return Ok("修改成功"); - } - } -} diff --git a/Server/YD_XinWei/Services/Impl/HomeWorkService.cs b/Server/YD_XinWei/Services/Impl/HomeWorkService.cs deleted file mode 100644 index b47e9a8..0000000 --- a/Server/YD_XinWei/Services/Impl/HomeWorkService.cs +++ /dev/null @@ -1,65 +0,0 @@ -using AutoMapper; -using Microsoft.EntityFrameworkCore; -using System.Collections.Generic; -using YD_XinWei.Api.Context; -using YD_XinWei.Api.Services.Interface; -using YD_XinWei.Api.SmartSportsEntitys; -using YD_XinWei.Api.Utilities; -using YD_XinWei.Commons.Dto.HomeWork; -using YD_XinWei.Commons.Dto.School; - -namespace YD_XinWei.Api.Services.Impl -{ - public class HomeWorkService : IHomeWorkService - { - public SmartSportsContext _sportsContext; - private readonly IMapper _mapper; - - public HomeWorkService(SmartSportsContext sportsContext, IMapper mapper) - { - _sportsContext = sportsContext; - _mapper = mapper; - } - - public async Task AddHomeWork(AddHomeWorkDto paramDto) - { - var homeWorkEntity = _mapper.Map(paramDto); - homeWorkEntity.SchoolCode = UserLoginContext.Current.SchoolCode; - homeWorkEntity.TeacherPhoneNo = UserLoginContext.Current.PhoneNo; - homeWorkEntity.WorkStatus = 1; - - await _sportsContext.AddAsync(homeWorkEntity); - await _sportsContext.SaveChangesAsync(); - } - - public async Task> HomeWorkRecord(string teacherPhoneNo) - { - var res = await _sportsContext.HomeWork.Where(x => x.TeacherPhoneNo == teacherPhoneNo).Select(x => new HomeWorkRecordDto() - { - Id = x.Id, - WorkName = x.WorkName, - WorkStatus = x.WorkStatus, - StartTime = x.StartTime, - EndTime = x.EndTime - }).ToListAsync(); - - return res; - } - - public async Task HomeWorkDetails(int homeWorkId) - { - var res = await _sportsContext.HomeWork.Where(x => x.Id == homeWorkId).Select(x => new HomeWorkDetailsDto() - { - Id = x.Id, - WorkName = x.WorkName, - StartTime = x.StartTime, - EndTime = x.EndTime, - StudentScope = x.StudentScope, - WorkText = x.WorkText, - HomeWorkStudents = _mapper.Map>(x.HomeWorkStudents), - }).FirstOrDefaultAsync(); - - return res; - } - } -} diff --git a/Server/YD_XinWei/Services/Impl/StudentService.cs b/Server/YD_XinWei/Services/Impl/StudentService.cs index b2db4fb..055b152 100644 --- a/Server/YD_XinWei/Services/Impl/StudentService.cs +++ b/Server/YD_XinWei/Services/Impl/StudentService.cs @@ -17,31 +17,34 @@ namespace YD_XinWei.Api.Services.Impl public async Task> ClassListbyTeacher(string teacherPhoneNo) { - var classList = await ( - from t in _sportsContext.Teacher - join a in _sportsContext.ClassAssocTeacher on t.Id equals a.TeacherId - join c in _sportsContext.Class on a.ClassId equals c.Id - where t.TeacherPhoneNo == teacherPhoneNo - select new ClassListDto() - { - ClassId = c.Id, - Name = $"{c.GradeName}-{c.ClassName}" - }).ToListAsync(); + //var classList = await ( + // from t in _sportsContext.Teacher + // join a in _sportsContext.ClassAssocTeacher on t.Id equals a.TeacherId + // join c in _sportsContext.Class on a.ClassId equals c.Id + // where t.TeacherPhoneNo == teacherPhoneNo + // select new ClassListDto() + // { + // ClassId = c.Id, + // Name = $"{c.GradeName}-{c.ClassName}" + // }).ToListAsync(); - return classList; + //return classList; + + return null; } public async Task> StudentListByClassId(int classId) { - var students = await _sportsContext.Student.Where(x => x.ClassId == classId).Select(x => new StudentListDto() - { - StudentNo = x.StudentNo, - StudentName = x.StudentName, - Sex = x.Sex, - Photo = x.Photo - }).ToListAsync(); + //var students = await _sportsContext.Student.Where(x => x.ClassId == classId).Select(x => new StudentListDto() + //{ + // StudentNo = x.StudentNo, + // StudentName = x.StudentName, + // Sex = x.Sex, + // Photo = x.Photo + //}).ToListAsync(); - return students; + //return students; + return null; } } } diff --git a/Server/YD_XinWei/Services/Impl/TeacherService.cs b/Server/YD_XinWei/Services/Impl/TeacherService.cs deleted file mode 100644 index da4d70f..0000000 --- a/Server/YD_XinWei/Services/Impl/TeacherService.cs +++ /dev/null @@ -1,78 +0,0 @@ - -using Microsoft.EntityFrameworkCore; -using YD_XinWei.Api.Context; -using YD_XinWei.Api.Services.Interface; -using YD_XinWei.Api.Utilities; -using YD_XinWei.Commons.Dto.Teacher; -using YD_XinWei.Commons.Exceptions; - -namespace YD_XinWei.Api.Services.Impl -{ - public class TeacherService : ITeacherService - { - public UserContext _userContext; - - public TeacherService(UserContext userContext) - { - _userContext = userContext; - } - public async Task TeacherProfile() - { - var userId = UserLoginContext.Current.UserId; - - var res = await _userContext.Users.Where(x => x.User_Id == userId).Select(x => new TeacherProfileDto() - { - UserTrueName = x.UserTrueName, - BirthDate = x.BirthDate, - Gender = x.Gender, - HeadImageUrl = x.HeadImageUrl, - Height = x.Height, - Weight = x.Weight - }).FirstOrDefaultAsync(); - - return res; - } - - public async Task ModifyTeacherProfile(TeacherProfileDto paramDto) - { - var userId = UserLoginContext.Current.UserId; - - var model = await _userContext.Users.FirstOrDefaultAsync(x => x.User_Id == userId); - - if (model == null) - throw new BizException("更新数据为空"); - - model.UserTrueName = !string.IsNullOrWhiteSpace(paramDto.UserTrueName) ? paramDto.UserTrueName : model.UserTrueName; - model.HeadImageUrl = !string.IsNullOrWhiteSpace(paramDto.HeadImageUrl) ? paramDto.HeadImageUrl : model.HeadImageUrl; - model.BirthDate = paramDto.BirthDate ?? model.BirthDate; - model.Gender = paramDto.Gender ?? model.Gender; - model.Height = paramDto.Height ?? model.Height; - model.Weight = paramDto.Weight ?? model.Weight; - - if (_userContext.Entry(model).State == EntityState.Modified) - { - await _userContext.SaveChangesAsync(); - } - } - - public async Task ModifyTeacherPwd(ModifyTeacherPwdDto paramDto) - { - if (paramDto.NewrPwd != paramDto.ConfirmPwd) - throw new BizException("确认密码与新密码不一致"); - - var userId = UserLoginContext.Current.UserId; - - var model = await _userContext.Users.FirstOrDefaultAsync(x => x.User_Id == userId && x.UserPwd == paramDto.OldPwd); - - if (model == null) - throw new BizException("旧密码输入有误"); - - model.UserPwd = paramDto.NewrPwd; - - if (_userContext.Entry(model).State == EntityState.Modified) - { - await _userContext.SaveChangesAsync(); - } - } - } -} diff --git a/Server/YD_XinWei/Services/Impl/UserService.cs b/Server/YD_XinWei/Services/Impl/UserService.cs index 91922e8..e27430e 100644 --- a/Server/YD_XinWei/Services/Impl/UserService.cs +++ b/Server/YD_XinWei/Services/Impl/UserService.cs @@ -28,28 +28,28 @@ namespace YD_XinWei.Api.Services.Impl { User userModel = null; - switch (paramDto.RoleId) - { - case 2: // 教师登录 - userModel = await QueryUserByRole( - x => x.PhoneNo == paramDto.Key && x.UserPwd == paramDto.Password, - () => GetTeacherUser(paramDto) - ); - break; + //switch (paramDto.RoleId) + //{ + // case 2: // 教师登录 + // userModel = await QueryUserByRole( + // x => x.PhoneNo == paramDto.Key && x.UserPwd == paramDto.Password, + // () => GetTeacherUser(paramDto) + // ); + // break; - case 3: // 家长登录 - userModel = await QueryUserByRole( - x => x.UserName == paramDto.Key && x.UserPwd == paramDto.Password, - () => GetParentUser(paramDto) - ); - break; + // case 3: // 家长登录 + // userModel = await QueryUserByRole( + // x => x.UserName == paramDto.Key && x.UserPwd == paramDto.Password, + // () => GetParentUser(paramDto) + // ); + // break; - default: - throw new BizException("无效的角色ID"); - } + // default: + // throw new BizException("无效的角色ID"); + //} - if (userModel == null || userModel.User_Id <= 0) - throw new BizException("用户新增失败"); + //if (userModel == null || userModel.User_Id <= 0) + // throw new BizException("用户新增失败"); return GenerateUserInfoDto(userModel); } @@ -74,50 +74,7 @@ namespace YD_XinWei.Api.Services.Impl return userModel; } - private async Task GetTeacherUser(LoginInfo paramDto) - { - var teacherUser = await _smartSportsContext.Teacher - .FirstOrDefaultAsync(x => x.TeacherPhoneNo == paramDto.Key && x.AppletPwd == paramDto.Password && x.TeacherStatus == 1); - - if (teacherUser == null) - return null; - - return new UserModelDataDto - { - PhoneNo = teacherUser.TeacherPhoneNo, - UserPwd = teacherUser.AppletPwd, - UserName = teacherUser.TeacherPhoneNo, - Gender = teacherUser.Sex, - HeadImageUrl = teacherUser.TeacherPhoto, - SchoolCode = teacherUser.SchoolCode, - RoleName = "老师", - RoleId = 2, - RelevanceId = paramDto.RelevanceId ?? Guid.NewGuid() - }; - } - - private async Task GetParentUser(LoginInfo paramDto) - { - var parentUser = await _smartSportsContext.Student - .FirstOrDefaultAsync(x => x.StudentName == paramDto.Key && x.StudentNo == paramDto.Password && x.StudentStatus == 1); - - if (parentUser == null) - return null; - - return new UserModelDataDto - { - PhoneNo = parentUser.ParentPhoneNo, - UserPwd = parentUser.StudentNo, - UserName = parentUser.StudentName, - Gender = parentUser.Sex, - HeadImageUrl = parentUser.Photo, - Address = parentUser.HomeAddress, - SchoolCode = parentUser.SchoolCode, - RoleName = "家长", - RoleId = 3, - RelevanceId = paramDto.RelevanceId ?? Guid.NewGuid() - }; - } + private User CreateUserModel(UserModelDataDto userData) { diff --git a/Server/YD_XinWei/Services/Interface/IHomeWorkService.cs b/Server/YD_XinWei/Services/Interface/IHomeWorkService.cs deleted file mode 100644 index efd35f8..0000000 --- a/Server/YD_XinWei/Services/Interface/IHomeWorkService.cs +++ /dev/null @@ -1,34 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using TGJ.NetworkFreight.SeckillAggregateServices.Pos.UserService; -using YD_XinWei.Api; -using YD_XinWei.Api.Entitys; -using YD_XinWei.Commons; -using YD_XinWei.Commons.Dto.HomeWork; -using YD_XinWei.Commons.Dto.School; - -namespace YD_XinWei.Api.Services.Interface -{ - public interface IHomeWorkService - { - /// - /// 新建作业 - /// - /// - /// - Task AddHomeWork(AddHomeWorkDto paramDto); - - /// - /// 作业记录 - /// - /// - /// - Task> HomeWorkRecord(string teacherPhoneNo); - - /// - /// 作业详情 - /// - /// - /// - Task HomeWorkDetails(int homeWorkId); - } -} diff --git a/Server/YD_XinWei/Services/Interface/ITeacherService.cs b/Server/YD_XinWei/Services/Interface/ITeacherService.cs deleted file mode 100644 index a6e89e2..0000000 --- a/Server/YD_XinWei/Services/Interface/ITeacherService.cs +++ /dev/null @@ -1,32 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using TGJ.NetworkFreight.SeckillAggregateServices.Pos.UserService; -using YD_XinWei.Api; -using YD_XinWei.Api.Entitys; -using YD_XinWei.Commons; -using YD_XinWei.Commons.Dto.Teacher; - -namespace YD_XinWei.Api.Services.Interface -{ - public interface ITeacherService - { - /// - /// 老师个人信息 - /// - /// - Task TeacherProfile(); - - /// - /// 修改个人信息 - /// - /// - /// - Task ModifyTeacherProfile(TeacherProfileDto paramDto); - - /// - /// 修改密码 - /// - /// - /// - Task ModifyTeacherPwd(ModifyTeacherPwdDto paramDto); - } -} diff --git a/Server/YD_XinWei/SmartSportsEntitys/S_ClassAssocTeacher.cs b/Server/YD_XinWei/SmartSportsEntitys/S_ClassAssocTeacher.cs deleted file mode 100644 index beee7da..0000000 --- a/Server/YD_XinWei/SmartSportsEntitys/S_ClassAssocTeacher.cs +++ /dev/null @@ -1,67 +0,0 @@ -using Microsoft.EntityFrameworkCore; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using YD_XinWei.Api.Entitys; -namespace YD_XinWei.Api.SmartSportsEntitys -{ - [Table("S_ClassAssocTeacher")] - public class S_ClassAssocTeacher : EntityBase - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - [Display(Description = "主键Id")] - [Comment("Id")] - public int Id { get; set; } - - /// - ///班级Id - /// - [Display(Name = "班级Id")] - [Comment("班级Id")] - [Column(TypeName = "int")] - public int ClassId { get; set; } - - /// - ///老师Id - /// - [Display(Name = "老师Id")] - [Comment("老师Id")] - [Column(TypeName = "int")] - public int TeacherId { get; set; } - - /// - ///创建人 - /// - [Display(Name = "创建人")] - [Comment("创建人")] - [Column(TypeName = "int)")] - public int Creator { get; set; } - - /// - ///创建时间 - /// - [Display(Name = "创建时间")] - [Comment("创建时间")] - [Column(TypeName = "datetime")] - [Editable(true)] - public DateTime? CreateDate { get; set; } - - /// - ///修改人 - /// - [Display(Name = "修改人")] - [Comment("修改人")] - [Column(TypeName = "int)")] - public int Modifier { get; set; } - - /// - ///修改时间 - /// - [Display(Name = "修改时间")] - [Comment("修改时间")] - [Column(TypeName = "datetime")] - public DateTime? ModifyDate { get; set; } - } -} diff --git a/Server/YD_XinWei/SmartSportsEntitys/S_HomeWork.cs b/Server/YD_XinWei/SmartSportsEntitys/S_HomeWork.cs deleted file mode 100644 index 0f980cb..0000000 --- a/Server/YD_XinWei/SmartSportsEntitys/S_HomeWork.cs +++ /dev/null @@ -1,146 +0,0 @@ -using Microsoft.EntityFrameworkCore; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using YD_XinWei.Api.Entitys; - -namespace YD_XinWei.Api.SmartSportsEntitys -{ - [Table("S_HomeWork")] - public class S_HomeWork - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - [Display(Description = "主键Id")] - [Comment("Id")] - public int Id { get; set; } - - /// - ///学校编号 - /// - [Display(Name = "学校编号")] - [Comment("学校编号")] - [Column(TypeName = "nvarchar(100)")] - public string SchoolCode { get; set; } - - /// - ///作业名称 - /// - [Display(Name = "作业名称")] - [Comment("作业名称")] - [Column(TypeName = "nvarchar(200)")] - public string WorkName { get; set; } - - /// - ///作业内容 - /// - [Display(Name = "作业内容")] - [Comment("作业内容")] - [Column(TypeName = "nvarchar(max)")] - public string WorkText { get; set; } - - /// - /// 作业类型 - /// - [Display(Name = "作业类型")] - [Comment("作业类型")] - [Column(TypeName = "int")] - public int WorkType { get; set; } - - /// - /// 作业状态 - /// - [Display(Name = "作业状态")] - [Comment("作业状态")] - [Column(TypeName = "int")] - public int WorkStatus { get; set; } - - /// - /// 学生范围 - /// - [Display(Name = "学生范围")] - [Comment("学生范围")] - [Column(TypeName = "int")] - public int StudentScope { get; set; } - - /// - ///老师Id - /// - [Display(Name = "老师Id")] - [Comment("老师Id")] - [Column(TypeName = "int")] - public int TeacherId { get; set; } - - /// - ///老师名称 - /// - [Display(Name = "老师名称")] - [Comment("老师名称")] - [Column(TypeName = "nvarchar(100)")] - public string TeacherName { get; set; } - - /// - ///老师手机号 - /// - [Display(Name = "老师手机号")] - [Comment("老师手机号")] - [Column(TypeName = "nvarchar(100)")] - public string TeacherPhoneNo { get; set; } - - /// - ///年级Id - /// - [Display(Name = "年级Id")] - [Comment("年级Id")] - [Column(TypeName = "int")] - public int GradeId { get; set; } - - /// - ///年级名称 - /// - [Display(Name = "年级名称")] - [Comment("年级名称")] - [Column(TypeName = "nvarchar(100)")] - public string GradeName { get; set; } - - /// - ///班级Id - /// - [Display(Name = "班级Id")] - [Comment("班级Id")] - [Column(TypeName = "int")] - public int ClassId { get; set; } - - /// - ///班级名称 - /// - [Display(Name = "班级名称")] - [Comment("班级名称")] - [Column(TypeName = "nvarchar(100)")] - public string ClassName { get; set; } - - /// - ///开始时间 - /// - [Display(Name = "开始时间")] - [Comment("开始时间")] - [Column(TypeName = "datetime")] - [Editable(true)] - public DateTime StartTime { get; set; } - - /// - ///结束时间 - /// - [Display(Name = "结束时间")] - [Comment("结束时间")] - [Column(TypeName = "datetime")] - [Editable(true)] - public DateTime EndTime { get; set; } - - /// - /// 导航属性 - /// - public List HomeWorkStudents { get; set; } - } -} diff --git a/Server/YD_XinWei/SmartSportsEntitys/S_HomeWorkStudents.cs b/Server/YD_XinWei/SmartSportsEntitys/S_HomeWorkStudents.cs deleted file mode 100644 index 147947b..0000000 --- a/Server/YD_XinWei/SmartSportsEntitys/S_HomeWorkStudents.cs +++ /dev/null @@ -1,72 +0,0 @@ -using Microsoft.EntityFrameworkCore; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using YD_XinWei.Api.Entitys; - -namespace YD_XinWei.Api.SmartSportsEntitys -{ - [Table("S_HomeWorkStudents")] - public class S_HomeWorkStudents - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - [Display(Description = "主键Id")] - [Comment("Id")] - public int Id { get; set; } - - /// - ///学校编号 - /// - [Display(Name = "学校编号")] - [Comment("学校编号")] - [Column(TypeName = "nvarchar(100)")] - public string SchoolCode { get; set; } - - /// - ///学生学号 - /// - [Display(Name = "学生学号")] - [Comment("学生学号")] - [Column(TypeName = "nvarchar(100)")] - public string StudentNo { get; set; } - - /// - ///学生名称 - /// - [Display(Name = "学生名称")] - [Comment("学生名称")] - [Column(TypeName = "nvarchar(100)")] - public string StudentName { get; set; } - - /// - ///性别 - /// - [Display(Name = "性别")] - [Comment("性别")] - [Column(TypeName = "int")] - public int Sex { get; set; } - - /// - ///学生照片 - /// - [Display(Name = "学生照片")] - [Comment("学生照片")] - [Column(TypeName = "nvarchar(2000)")] - public string Photo { get; set; } - - /// - /// 学生作业状态 - /// - [Display(Name = "学生作业状态")] - [Comment("学生作业状态")] - [Column(TypeName = "int")] - public int WorkStatus { get; set; } - - /// - /// 导航属性 - /// - public S_HomeWork HomeWork { get; set; } - } -} diff --git a/Server/YD_XinWei/SmartSportsEntitys/S_SubmittedAssignments.cs b/Server/YD_XinWei/SmartSportsEntitys/S_SubmittedAssignments.cs deleted file mode 100644 index 6339907..0000000 --- a/Server/YD_XinWei/SmartSportsEntitys/S_SubmittedAssignments.cs +++ /dev/null @@ -1,74 +0,0 @@ -using Microsoft.EntityFrameworkCore; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using YD_XinWei.Api.Entitys; -namespace YD_XinWei.Api.SmartSportsEntitys -{ - [Table("S_SubmittedAssignments")] - public class S_SubmittedAssignments - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - [Display(Description = "主键Id")] - [Comment("Id")] - public int Id { get; set; } - - /// - ///学校编号 - /// - [Display(Name = "学校编号")] - [Comment("学校编号")] - [Column(TypeName = "nvarchar(100)")] - public string SchoolCode { get; set; } - - /// - ///作业Id - /// - [Display(Name = "作业Id")] - [Comment("作业Id")] - [Column(TypeName = "int")] - public int HomeWorkId { get; set; } - - /// - ///学生学号 - /// - [Display(Name = "学生学号")] - [Comment("学生学号")] - [Column(TypeName = "nvarchar(100)")] - public string StudentNo { get; set; } - - /// - /// 文件类型 - /// - [Display(Name = "文件类型")] - [Comment("文件类型")] - [Column(TypeName = "int")] - public int FileType { get; set; } - - /// - /// 文件大小 - /// - [Display(Name = "文件大小")] - [Comment("文件大小")] - [Column(TypeName = "int")] - public int? FileSize { get; set; } - - /// - /// 文件名称 - /// - [Display(Name = "文件名称")] - [Comment("文件名称")] - [Column(TypeName = "nvarchar(200)")] - public string FileName { get; set; } - - /// - /// 文件地址 - /// - [Display(Name = "文件地址")] - [Comment("文件地址")] - [Column(TypeName = "nvarchar(2000)")] - public string FilePath { get; set; } - } -} diff --git a/Server/YD_XinWei/SmartSportsEntitys/S_Teacher.cs b/Server/YD_XinWei/SmartSportsEntitys/S_Teacher.cs deleted file mode 100644 index b652075..0000000 --- a/Server/YD_XinWei/SmartSportsEntitys/S_Teacher.cs +++ /dev/null @@ -1,113 +0,0 @@ -using Microsoft.EntityFrameworkCore; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using YD_XinWei.Api.Entitys; - -namespace YD_XinWei.Api.SmartSportsEntitys -{ - [Table("S_Teacher")] - public class S_Teacher : EntityBase - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - [Display(Description = "主键Id")] - [Comment("Id")] - public int Id { get; set; } - - /// - ///学校编号 - /// - [Display(Name = "学校编号")] - [Comment("学校编号")] - [Column(TypeName = "nvarchar(100)")] - public string SchoolCode { get; set; } - - /// - ///教师名称 - /// - [Display(Name = "教师名称")] - [Comment("教师名称")] - [Column(TypeName = "nvarchar(100)")] - public string TeacherName { get; set; } - - /// - ///教师年龄 - /// - [Display(Name = "教师年龄")] - [Comment("教师年龄")] - [Column(TypeName = "int")] - public int Age { get; set; } - - /// - ///教师性别 - /// - [Display(Name = "教师性别")] - [Comment("教师性别")] - [Column(TypeName = "int")] - public int Sex { get; set; } - - /// - ///状态 - /// - [Display(Name = "状态")] - [Comment("状态")] - [Column(TypeName = "int")] - public int TeacherStatus { get; set; } - - /// - /// 老师照片 - /// - [Display(Name = "老师照片")] - [Comment("老师照片")] - [Column(TypeName = "nvarchar(2000)")] - public string? TeacherPhoto { get; set; } - - /// - ///入职日期 - /// - [Display(Name = "入职日期")] - [Comment("入职日期")] - [Column(TypeName = "datetime")] - public DateTime InductionDate { get; set; } - - /// - ///老师联系方式 - /// - [Display(Name = "老师联系方式")] - [Comment("老师联系方式")] - [Column(TypeName = "nvarchar(20)")] - public string TeacherPhoneNo { get; set; } - - /// - ///老师学科 - /// - [Display(Name = "老师学科")] - [Comment("老师学科")] - [Column(TypeName = "nvarchar(20)")] - public string? Ology { get; set; } - - /// - ///备注 - /// - [Display(Name = "备注")] - [Comment("备注")] - [Column(TypeName = "text")] - public string? Remarks { get; set; } - - /// - /// 授课次数 - /// - [Display(Name = "授课次数")] - [Comment("授课次数")] - [Column(TypeName = "int")] - public int? AccumulatedTeachingTimes { get; set; } - - /// - /// 小程序密码 - /// - [Display(Name = "小程序密码")] - [Comment("小程序密码")] - [Column(TypeName = "nvarchar(100)")] - public string AppletPwd { get; set; } - } -} diff --git a/Server/YD_XinWei/Startup.cs b/Server/YD_XinWei/Startup.cs index 4cf840f..ae52b37 100644 --- a/Server/YD_XinWei/Startup.cs +++ b/Server/YD_XinWei/Startup.cs @@ -61,8 +61,6 @@ namespace YD_XinWei.Api services.AddSingleton(); services.AddScoped(); services.AddScoped(); - services.AddScoped(); - services.AddScoped(); services.AddScoped(); diff --git a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.dll b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.dll index b3576e5..d6518e2 100644 Binary files a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.dll and b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.dll differ diff --git a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.exe b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.exe index 9df41cb..00f7909 100644 Binary files a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.exe and b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.exe differ diff --git a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.pdb b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.pdb index 3735205..d959877 100644 Binary files a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.pdb and b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.pdb differ diff --git a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.xml b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.xml index 6315a1d..0574f42 100644 --- a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.xml +++ b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Api.xml @@ -14,32 +14,6 @@ 用户服务上下文 - - - 作业 - - - - - 新增作业 - - - - - - - 作业记录 - - - - - - - 作业详情 - - - - 学生 @@ -59,31 +33,6 @@ - - - 老师端 - - - - - 老师个人信息 - - - - - - 修改个人信息 - - - - - - - 修改密码 - - - - 用户 @@ -272,27 +221,6 @@ 体重 - - - 新建作业 - - - - - - - 作业记录 - - - - - - - 作业详情 - - - - 获取班级列表 @@ -307,26 +235,6 @@ - - - 老师个人信息 - - - - - - 修改个人信息 - - - - - - - 修改密码 - - - - 账号密码登录 @@ -520,151 +428,6 @@ 班级名称 - - - 班级Id - - - - - 老师Id - - - - - 创建人 - - - - - 创建时间 - - - - - 修改人 - - - - - 修改时间 - - - - - 学校编号 - - - - - 作业名称 - - - - - 作业内容 - - - - - 作业类型 - - - - - 作业状态 - - - - - 学生范围 - - - - - 老师Id - - - - - 老师名称 - - - - - 老师手机号 - - - - - 年级Id - - - - - 年级名称 - - - - - 班级Id - - - - - 班级名称 - - - - - 开始时间 - - - - - 结束时间 - - - - - 导航属性 - - - - - 学校编号 - - - - - 学生学号 - - - - - 学生名称 - - - - - 性别 - - - - - 学生照片 - - - - - 学生作业状态 - - - - - 导航属性 - - 学校编号 @@ -825,101 +588,6 @@ 修改时间 - - - 学校编号 - - - - - 作业Id - - - - - 学生学号 - - - - - 文件类型 - - - - - 文件大小 - - - - - 文件名称 - - - - - 文件地址 - - - - - 学校编号 - - - - - 教师名称 - - - - - 教师年龄 - - - - - 教师性别 - - - - - 状态 - - - - - 老师照片 - - - - - 入职日期 - - - - - 老师联系方式 - - - - - 老师学科 - - - - - 备注 - - - - - 授课次数 - - - - - 小程序密码 - - 芯未项目模式表 diff --git a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Commons.dll b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Commons.dll index 2b987ce..87fe90c 100644 Binary files a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Commons.dll and b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Commons.dll differ diff --git a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Commons.pdb b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Commons.pdb index a1cfe6e..fc441e9 100644 Binary files a/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Commons.pdb and b/Server/YD_XinWei/bin/Debug/net6.0/YD_XinWei.Commons.pdb differ diff --git a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.AssemblyInfo.cs b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.AssemblyInfo.cs index 7fdf20d..6634023 100644 --- a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.AssemblyInfo.cs +++ b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+127a15267ac6ff77a5766dcb035bd2e04cf6e8e7")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f9e7ba9c4f75cd95dbf6577e89978fa9bd53c86d")] [assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")] [assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.AssemblyInfoInputs.cache b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.AssemblyInfoInputs.cache index 0ec5bf8..c33537a 100644 --- a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.AssemblyInfoInputs.cache +++ b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.AssemblyInfoInputs.cache @@ -1 +1 @@ -e13c62df195b49c431dd4152f653283fabd1fe2e9cc6d230c4259669841016b9 +8d44c6462a5ac174e1fe42f1e3d1ac5dc379a56089246cc7887c432ba67d97e9 diff --git a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.csproj.AssemblyReference.cache b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.csproj.AssemblyReference.cache index 5b4d40f..02c5e4c 100644 Binary files a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.csproj.AssemblyReference.cache and b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.csproj.AssemblyReference.cache differ diff --git a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.csproj.CoreCompileInputs.cache b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.csproj.CoreCompileInputs.cache index abfc871..705c73e 100644 --- a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.csproj.CoreCompileInputs.cache +++ b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -d70fd92c395ed744de7a9144125d49cf4accc6abbfc0254cd7042f0cab165eae +1729c40a948a5a1c0c0f4be250c5806fe6d43db48ff7bcb08113222cecbd0de8 diff --git a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.dll b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.dll index b3576e5..d6518e2 100644 Binary files a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.dll and b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.dll differ diff --git a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.pdb b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.pdb index 3735205..d959877 100644 Binary files a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.pdb and b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.pdb differ diff --git a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.sourcelink.json b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.sourcelink.json index b4110f5..7c36bf7 100644 --- a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.sourcelink.json +++ b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.sourcelink.json @@ -1 +1 @@ -{"documents":{"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\*":"https://dev.azure.com/tanglong10081/YD_XinWei/_apis/git/repositories/YD_XinWei/items?api-version=1.0&versionType=commit&version=127a15267ac6ff77a5766dcb035bd2e04cf6e8e7&path=/*"}} \ No newline at end of file +{"documents":{"C:\\Users\\HHST102\\Desktop\\Code\\YD_XinWei\\*":"https://dev.azure.com/tanglong10081/YD_XinWei/_apis/git/repositories/YD_XinWei/items?api-version=1.0&versionType=commit&version=f9e7ba9c4f75cd95dbf6577e89978fa9bd53c86d&path=/*"}} \ No newline at end of file diff --git a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.xml b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.xml index 6315a1d..0574f42 100644 --- a/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.xml +++ b/Server/YD_XinWei/obj/Debug/net6.0/YD_XinWei.Api.xml @@ -14,32 +14,6 @@ 用户服务上下文 - - - 作业 - - - - - 新增作业 - - - - - - - 作业记录 - - - - - - - 作业详情 - - - - 学生 @@ -59,31 +33,6 @@ - - - 老师端 - - - - - 老师个人信息 - - - - - - 修改个人信息 - - - - - - - 修改密码 - - - - 用户 @@ -272,27 +221,6 @@ 体重 - - - 新建作业 - - - - - - - 作业记录 - - - - - - - 作业详情 - - - - 获取班级列表 @@ -307,26 +235,6 @@ - - - 老师个人信息 - - - - - - 修改个人信息 - - - - - - - 修改密码 - - - - 账号密码登录 @@ -520,151 +428,6 @@ 班级名称 - - - 班级Id - - - - - 老师Id - - - - - 创建人 - - - - - 创建时间 - - - - - 修改人 - - - - - 修改时间 - - - - - 学校编号 - - - - - 作业名称 - - - - - 作业内容 - - - - - 作业类型 - - - - - 作业状态 - - - - - 学生范围 - - - - - 老师Id - - - - - 老师名称 - - - - - 老师手机号 - - - - - 年级Id - - - - - 年级名称 - - - - - 班级Id - - - - - 班级名称 - - - - - 开始时间 - - - - - 结束时间 - - - - - 导航属性 - - - - - 学校编号 - - - - - 学生学号 - - - - - 学生名称 - - - - - 性别 - - - - - 学生照片 - - - - - 学生作业状态 - - - - - 导航属性 - - 学校编号 @@ -825,101 +588,6 @@ 修改时间 - - - 学校编号 - - - - - 作业Id - - - - - 学生学号 - - - - - 文件类型 - - - - - 文件大小 - - - - - 文件名称 - - - - - 文件地址 - - - - - 学校编号 - - - - - 教师名称 - - - - - 教师年龄 - - - - - 教师性别 - - - - - 状态 - - - - - 老师照片 - - - - - 入职日期 - - - - - 老师联系方式 - - - - - 老师学科 - - - - - 备注 - - - - - 授课次数 - - - - - 小程序密码 - - 芯未项目模式表 diff --git a/Server/YD_XinWei/obj/Debug/net6.0/apphost.exe b/Server/YD_XinWei/obj/Debug/net6.0/apphost.exe index 9df41cb..00f7909 100644 Binary files a/Server/YD_XinWei/obj/Debug/net6.0/apphost.exe and b/Server/YD_XinWei/obj/Debug/net6.0/apphost.exe differ diff --git a/Server/YD_XinWei/obj/Debug/net6.0/ref/YD_XinWei.Api.dll b/Server/YD_XinWei/obj/Debug/net6.0/ref/YD_XinWei.Api.dll index 8b21dee..048c478 100644 Binary files a/Server/YD_XinWei/obj/Debug/net6.0/ref/YD_XinWei.Api.dll and b/Server/YD_XinWei/obj/Debug/net6.0/ref/YD_XinWei.Api.dll differ diff --git a/Server/YD_XinWei/obj/Debug/net6.0/refint/YD_XinWei.Api.dll b/Server/YD_XinWei/obj/Debug/net6.0/refint/YD_XinWei.Api.dll index 8b21dee..048c478 100644 Binary files a/Server/YD_XinWei/obj/Debug/net6.0/refint/YD_XinWei.Api.dll and b/Server/YD_XinWei/obj/Debug/net6.0/refint/YD_XinWei.Api.dll differ