From 908a31cc089861acd652e0c3793025974e615bfd Mon Sep 17 00:00:00 2001 From: liuyangyi Date: Sat, 25 May 2024 19:12:56 +0800 Subject: [PATCH] bug fixd --- .../Controllers/Front/TestController.cs | 26 +++++++++---------- New_College.Model/Models/D_MyHistoryInfo.cs | 2 +- New_College.Model/Models/D_UserSettingBase.cs | 2 +- .../Models/Test_PsychMeasurementInfo.cs | 2 +- New_College.Model/Models/V_SubjectSelect.cs | 2 +- New_College.Model/ViewModels/BaseResult.cs | 2 +- .../ViewModels/Query/CategoryInfoQuery.cs | 2 +- .../ViewModels/Query/PsychMeasurementQuery.cs | 6 ++--- .../ViewModels/Query/SubjectSelectQuery.cs | 2 +- .../ViewModels/UserSettingBaseRequest.cs | 4 +-- 10 files changed, 25 insertions(+), 25 deletions(-) diff --git a/New_College.Api/Controllers/Front/TestController.cs b/New_College.Api/Controllers/Front/TestController.cs index 9622d07..61ca41f 100644 --- a/New_College.Api/Controllers/Front/TestController.cs +++ b/New_College.Api/Controllers/Front/TestController.cs @@ -75,7 +75,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task> GetTestStatus([FromQuery] CategoryStatusQuery query) { var result = await test_CategoryInfoServices.GetTestStatus(query); @@ -93,7 +93,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task>> GetQuestion([FromQuery] appQuestionQuery query) { var result = await test_QuestionInfoServices.GetQuestion(query); @@ -110,7 +110,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task>> GetQuestionMBTI() { var result = await test_QuestionInfoServices.GetQuestionMBTI(); @@ -127,7 +127,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpPost] - [Authorize] + public async Task> SavePsych([FromBody] SavePsychQuery query) { var result = await test_PsychMeasurementInfoServices.SavePsych(query); @@ -145,7 +145,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpPost] - [Authorize] + public async Task> SaveHolland(SaveHollandQuery query) { var result = await test_PsychMeasurementInfoServices.SaveHolland(query); @@ -181,7 +181,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task> GetHollandResult([FromQuery] ResultLookQuery query) { var result = await test_PsychMeasurementInfoServices.GetHollandResult(query); @@ -200,7 +200,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task> GetHollandOccupDetail([FromQuery] ResultLookQuery query) { var result = await test_PsychMeasurementInfoServices.GetHollandOccupDetail(query); @@ -239,7 +239,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task> GetMBTIResult([FromQuery] ResultLookQuery query) { var result = await test_PsychMeasurementInfoServices.GetMBTIResult(query); @@ -258,7 +258,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task> SubjectChartRadar([FromQuery] ResultLookQuery query) { return await test_PsychMeasurementInfoServices.SubjectChartRadar(query); @@ -270,7 +270,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task> GetHollandStatus([FromQuery] IdQuery query) { return await test_PsychMeasurementInfoServices.GetHollandStatus(query); @@ -282,7 +282,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task> GetSubjectSelectStatus([FromQuery] IdQuery query) { return await test_PsychMeasurementInfoServices.GetSubjectSelectStatus(query); @@ -295,7 +295,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpGet] - [Authorize] + public async Task> GetSubjectSelect([FromQuery] IdQuery query) { return await v_SubjectSelectServices.GetSubjectSelect(query); @@ -307,7 +307,7 @@ namespace New_College.Api.Controllers.Front /// /// [HttpPost] - [Authorize] + public async Task> SaveSubjectSelect([FromBody] SubjectSelectQuery query) { return await v_SubjectSelectServices.SaveSubjectSelect(query); diff --git a/New_College.Model/Models/D_MyHistoryInfo.cs b/New_College.Model/Models/D_MyHistoryInfo.cs index 13b4156..06a4104 100644 --- a/New_College.Model/Models/D_MyHistoryInfo.cs +++ b/New_College.Model/Models/D_MyHistoryInfo.cs @@ -13,7 +13,7 @@ namespace New_College.Model.Models /// /// 记录Id /// - public int UId { get; set; } + public long UId { get; set; } /// /// diff --git a/New_College.Model/Models/D_UserSettingBase.cs b/New_College.Model/Models/D_UserSettingBase.cs index 975919e..9d14d95 100644 --- a/New_College.Model/Models/D_UserSettingBase.cs +++ b/New_College.Model/Models/D_UserSettingBase.cs @@ -14,7 +14,7 @@ namespace New_College.Model.Models /// /// /// - public int CustomerId { get; set; } + public long CustomerId { get; set; } /// /// 0-pc,1-minpro /// diff --git a/New_College.Model/Models/Test_PsychMeasurementInfo.cs b/New_College.Model/Models/Test_PsychMeasurementInfo.cs index 2d236e1..6d44fb5 100644 --- a/New_College.Model/Models/Test_PsychMeasurementInfo.cs +++ b/New_College.Model/Models/Test_PsychMeasurementInfo.cs @@ -13,7 +13,7 @@ namespace New_College.Model.Models /// /// 学生Id /// - public int StudentId { get; set; } + public long StudentId { get; set; } /// /// 周期Id diff --git a/New_College.Model/Models/V_SubjectSelect.cs b/New_College.Model/Models/V_SubjectSelect.cs index f54b51f..18364f1 100644 --- a/New_College.Model/Models/V_SubjectSelect.cs +++ b/New_College.Model/Models/V_SubjectSelect.cs @@ -9,7 +9,7 @@ namespace New_College.Model.Models /// /// 用户Id /// - public int CustomerId { get; set; } + public long CustomerId { get; set; } /// /// 逗号隔开 diff --git a/New_College.Model/ViewModels/BaseResult.cs b/New_College.Model/ViewModels/BaseResult.cs index b938d75..4a12660 100644 --- a/New_College.Model/ViewModels/BaseResult.cs +++ b/New_College.Model/ViewModels/BaseResult.cs @@ -18,7 +18,7 @@ namespace New_College.Model.ViewModels public class IdQuery { - public int? CustomerId { get; set; } + public long? CustomerId { get; set; } public int Id { get; set; } public List Ids { get; set; } diff --git a/New_College.Model/ViewModels/Query/CategoryInfoQuery.cs b/New_College.Model/ViewModels/Query/CategoryInfoQuery.cs index 879481d..42a5953 100644 --- a/New_College.Model/ViewModels/Query/CategoryInfoQuery.cs +++ b/New_College.Model/ViewModels/Query/CategoryInfoQuery.cs @@ -25,6 +25,6 @@ namespace New_College.Model.ViewModels /// /// 用户Id /// - public int CustomerId { get; set; } + public long CustomerId { get; set; } } } diff --git a/New_College.Model/ViewModels/Query/PsychMeasurementQuery.cs b/New_College.Model/ViewModels/Query/PsychMeasurementQuery.cs index bd275be..ec28108 100644 --- a/New_College.Model/ViewModels/Query/PsychMeasurementQuery.cs +++ b/New_College.Model/ViewModels/Query/PsychMeasurementQuery.cs @@ -17,7 +17,7 @@ namespace New_College.Model.ViewModels { public int CategoryId { get; set; } - public int StudentId { get; set; } + public long StudentId { get; set; } public string Tags { get; set; } @@ -32,7 +32,7 @@ namespace New_College.Model.ViewModels public int CategoryId { get; set; } - public int StudentId { get; set; } + public long StudentId { get; set; } public int CycleTimeId { get; set; } @@ -92,7 +92,7 @@ namespace New_College.Model.ViewModels public class ResultLookQuery { - public int StudentId { get; set; } + public long StudentId { get; set; } public int CategoryId { get; set; } diff --git a/New_College.Model/ViewModels/Query/SubjectSelectQuery.cs b/New_College.Model/ViewModels/Query/SubjectSelectQuery.cs index 7eb1e7c..1c10b84 100644 --- a/New_College.Model/ViewModels/Query/SubjectSelectQuery.cs +++ b/New_College.Model/ViewModels/Query/SubjectSelectQuery.cs @@ -9,7 +9,7 @@ namespace New_College.Model.ViewModels /// /// 用户Id /// - public int CustomerId { get; set; } + public long CustomerId { get; set; } /// /// 逗号隔开 diff --git a/New_College.Model/ViewModels/UserSettingBaseRequest.cs b/New_College.Model/ViewModels/UserSettingBaseRequest.cs index bed9f95..e8acf40 100644 --- a/New_College.Model/ViewModels/UserSettingBaseRequest.cs +++ b/New_College.Model/ViewModels/UserSettingBaseRequest.cs @@ -8,7 +8,7 @@ namespace New_College.Model.ViewModels { public class UserSettingBaseRequest { - public int CustomerId { get; set; } + public long CustomerId { get; set; } } @@ -43,7 +43,7 @@ namespace New_College.Model.ViewModels public class UserBaseSettingDto { - public int CustomerId { get; set; } + public long CustomerId { get; set; } /// /// 0-pc,1-minpro ///