Quellcode durchsuchen

Merge branch 'test' of http://110.188.24.182:10023/Fengwo/hotline into test

田爽 vor 4 Tagen
Ursprung
Commit
d8c8af256c
100 geänderte Dateien mit 165 neuen und 194 gelöschten Zeilen
  1. 1 1
      src/Hotline.Api/Controllers/Exam/ExamManageController.cs
  2. 1 1
      src/Hotline.Api/Controllers/Exam/ExtractRuleController.cs
  3. 1 1
      src/Hotline.Api/Controllers/Exam/QuestionController.cs
  4. 1 1
      src/Hotline.Api/Controllers/Exam/TestPaperController.cs
  5. 5 13
      src/Hotline.Api/Program.cs
  6. 8 8
      src/Hotline.Api/StartupHelper.cs
  7. 1 1
      src/Hotline.Application/Exam/Interface/ExamManages/IExamManageService.cs
  8. 1 1
      src/Hotline.Application/Exam/Interface/ExamManages/IExamTagService.cs
  9. 1 1
      src/Hotline.Application/Exam/Interface/ExamManages/IExtractRuleService.cs
  10. 1 1
      src/Hotline.Application/Exam/Interface/ExamManages/IUnExamUserService.cs
  11. 1 1
      src/Hotline.Application/Exam/Interface/ExamManages/IUserExamResultService.cs
  12. 1 1
      src/Hotline.Application/Exam/Interface/ExamManages/IUserExamService.cs
  13. 1 1
      src/Hotline.Application/Exam/Interface/Practices/IPracticeService.cs
  14. 1 1
      src/Hotline.Application/Exam/Interface/Questions/IQuestionAnswerService.cs
  15. 1 1
      src/Hotline.Application/Exam/Interface/Questions/IQuestionKnowladgeService.cs
  16. 1 1
      src/Hotline.Application/Exam/Interface/Questions/IQuestionOptionsService.cs
  17. 1 1
      src/Hotline.Application/Exam/Interface/Questions/IQuestionService.cs
  18. 1 1
      src/Hotline.Application/Exam/Interface/Questions/IQuestionSourcewareService.cs
  19. 1 1
      src/Hotline.Application/Exam/Interface/Questions/IQuestionTagService.cs
  20. 1 1
      src/Hotline.Application/Exam/Interface/Sourcewares/ISourcewareCategoryService.cs
  21. 1 1
      src/Hotline.Application/Exam/Interface/Sourcewares/ISourcewareService.cs
  22. 1 1
      src/Hotline.Application/Exam/Interface/TestPapers/ITestPaperService.cs
  23. 1 1
      src/Hotline.Application/Exam/Interface/Train/ITrainPlanService.cs
  24. 1 1
      src/Hotline.Application/Exam/Interface/Train/ITrainRecordAnswerService.cs
  25. 1 1
      src/Hotline.Application/Exam/Interface/Train/ITrainRecordService.cs
  26. 1 1
      src/Hotline.Application/Exam/Interface/Train/ITrainTemplateService.cs
  27. 3 6
      src/Hotline.Application/Exam/Proxy/ExamManageProxy.cs
  28. 3 3
      src/Hotline.Application/Exam/Proxy/TestPaperProxy.cs
  29. 3 14
      src/Hotline.Application/Exam/Service/ExamManages/ExamManageService.cs
  30. 1 1
      src/Hotline.Application/Exam/Service/ExamManages/ExamTagService.cs
  31. 3 3
      src/Hotline.Application/Exam/Service/ExamManages/ExtractRuleService.cs
  32. 4 18
      src/Hotline.Application/Exam/Service/ExamManages/UserExamService.cs
  33. 3 3
      src/Hotline.Application/Exam/Service/Practices/PracticeService.cs
  34. 3 3
      src/Hotline.Application/Exam/Service/Questions/QuestionService.cs
  35. 1 1
      src/Hotline.Application/Exam/Service/Sourcewares/SourcewareCategoryService.cs
  36. 1 1
      src/Hotline.Application/Exam/Service/Sourcewares/SourcewareService.cs
  37. 3 4
      src/Hotline.Application/Exam/Service/TestPapers/TestPaperService.cs
  38. 3 3
      src/Hotline.Application/Exam/Service/Trains/TrainPlanService.cs
  39. 3 4
      src/Hotline.Application/Exam/Service/Trains/TrainRecordService.cs
  40. 4 8
      src/Hotline.Application/Exam/Service/Trains/TrainTemplateService.cs
  41. 10 10
      src/Hotline.Repository.SqlSugar/Exam/Extensions/ApiServiceExtension.cs
  42. 3 3
      src/Hotline.Repository.SqlSugar/Exam/Interface/IApiService.cs
  43. 6 0
      src/Hotline.Repository.SqlSugar/Exam/Interface/IDomainService.cs
  44. 6 6
      src/Hotline.Repository.SqlSugar/Exam/Interface/IExamRepository.cs
  45. 4 4
      src/Hotline.Repository.SqlSugar/Exam/Interface/IQueryService.cs
  46. 8 0
      src/Hotline.Repository.SqlSugar/Exam/Interface/StatusActionRequest.cs
  47. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamAnswerRepository.cs
  48. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamManageRepository.cs
  49. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionAnswerRepository.cs
  50. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionKnowladgeRepository.cs
  51. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionOptionsRepository.cs
  52. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionRepository.cs
  53. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionScoreRepository.cs
  54. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionSourcewareRepository.cs
  55. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamTagRepository.cs
  56. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExtractRuleRepository.cs
  57. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IRuleTagRepository.cs
  58. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IUserExamItemOptionRepository.cs
  59. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IUserExamItemRepository.cs
  60. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IUserExamRepository.cs
  61. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeAnswerRepository.cs
  62. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeQuestionKnowladgeRepository.cs
  63. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeQuestionOptionsRepository.cs
  64. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeQuestionRepository.cs
  65. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeQuestionSourcewareRepository.cs
  66. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeRecordRepository.cs
  67. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeRepository.cs
  68. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeResultItemRepository.cs
  69. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeResultRepository.cs
  70. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeTagRepository.cs
  71. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionAnswerRepository.cs
  72. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionKnowladgeRepository.cs
  73. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionOptionsRepository.cs
  74. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionRepository.cs
  75. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionSourcewareRepository.cs
  76. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionTagRepository.cs
  77. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/ITagQuestionRepository.cs
  78. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Sourcewares/ISourcewareCategoryRepository.cs
  79. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Sourcewares/ISourcewareRepository.cs
  80. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemAnswerRepository.cs
  81. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemKnowladgeRepository.cs
  82. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemOptionsRepository.cs
  83. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemRepository.cs
  84. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemSourcewareRepository.cs
  85. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperRepository.cs
  86. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperRuleRepository.cs
  87. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperRuleTagRepository.cs
  88. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainKnowladgeRepository.cs
  89. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPlanRepository.cs
  90. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPlanTemplateRepository.cs
  91. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPracticeKnowladgeRepository.cs
  92. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPracticeOptionsRepository.cs
  93. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPracticeRepository.cs
  94. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPracticeSourcewareRepository.cs
  95. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainRecordAnswerRepository.cs
  96. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainRecordItemRepository.cs
  97. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainRecordRepository.cs
  98. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainTemplateRepository.cs
  99. 1 1
      src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainUserRepository.cs
  100. 0 1
      src/Hotline.Repository.SqlSugar/Exam/Repositories/ExamManages/ExamAnswerRepository.cs

+ 1 - 1
src/Hotline.Api/Controllers/Exam/ExamManageController.cs

@@ -3,7 +3,7 @@ using Exam.Share;
 using Exam.Share.ViewResponses.Exam;
 using Hotline.Application.Exam.Constants.ApiRoutes;
 using Hotline.Application.Exam.Interface.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Requests.Exam;
 using Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Mvc;

+ 1 - 1
src/Hotline.Api/Controllers/Exam/ExtractRuleController.cs

@@ -3,7 +3,7 @@ using Exam.Infrastructure.Data.Entity;
 using Exam.Share.ViewResponses.Exam;
 using Hotline.Application.Exam.Constants.ApiRoutes;
 using Hotline.Application.Exam.Interface.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.TestPapers;
 using Hotline.Share.Requests.Exam;
 using Hotline.Share.ViewResponses.Exam;

+ 1 - 1
src/Hotline.Api/Controllers/Exam/QuestionController.cs

@@ -2,7 +2,7 @@
 using Exam.Share.ViewResponses.Question;
 using Hotline.Application.Exam.Constants.ApiRoutes;
 using Hotline.Application.Exam.Interface.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Requests.Question;
 using MapsterMapper;

+ 1 - 1
src/Hotline.Api/Controllers/Exam/TestPaperController.cs

@@ -5,7 +5,7 @@ using Exam.Share.ViewResponses.TestPaper;
 using Hotline.Application.Exam.Constants.ApiRoutes;
 using Hotline.Application.Exam.Interface.TestPapers;
 using Hotline.Application.Exam.Service.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Dtos.TestPapers;
 using Hotline.Share.Requests.Exam;

+ 5 - 13
src/Hotline.Api/Program.cs

@@ -1,6 +1,5 @@
 using Hotline.Api;
 using Serilog;
-using Serilog.Formatting.Display;
 using XF.Domain.Authentications;
 
 Log.Logger = new LoggerConfiguration()
@@ -35,19 +34,12 @@ try
                 .AddCommandLine(args)
                 ;
         })
-        //.UseSerilog((ctx, lc) => lc
-        ////.WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss} {Level}] {SourceContext}{NewLine}{Message:lj}{NewLine}{Exception}{NewLine}")
-        //.Enrich.FromLogContext()
-        //.ReadFrom.Configuration(ctx.Configuration), true)
-        ;
-    
-    builder.Services.AddSerilog((services, lc) => lc
-        .ReadFrom.Configuration(builder.Configuration)
-        .ReadFrom.Services(services)
+        .UseSerilog((ctx, lc) => lc
+        //.WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss} {Level}] {SourceContext}{NewLine}{Message:lj}{NewLine}{Exception}{NewLine}")
         .Enrich.FromLogContext()
-    );
-
-
+        .ReadFrom.Configuration(ctx.Configuration), true)
+        ;
+    //builder.Services.AddControllers().AddNewtonsoftJson();
     builder
         .ConfigureServices()
         .ConfigurePipelines()

+ 8 - 8
src/Hotline.Api/StartupHelper.cs

@@ -327,14 +327,14 @@ namespace Hotline.Api
                             .WithCronSchedule("0/5 * * * * ?")
                         );
 
-                        //var getOperationsJobKey = new JobKey(nameof(XingTangTelOperationSyncJob));
-                        //d.AddJob<XingTangTelOperationSyncJob>(getOperationsJobKey);
-                        //d.AddTrigger(t => t
-                        //    .WithIdentity("get-operationsxt-trigger")
-                        //    .ForJob(getOperationsJobKey)
-                        //    .StartNow()
-                        //    .WithCronSchedule("0/10 * * * * ?")
-                        //);
+                        var getOperationsJobKey = new JobKey(nameof(XingTangTelOperationSyncJob));
+                        d.AddJob<XingTangTelOperationSyncJob>(getOperationsJobKey);
+                        d.AddTrigger(t => t
+                            .WithIdentity("get-operationsxt-trigger")
+                            .ForJob(getOperationsJobKey)
+                            .StartNow()
+                            .WithCronSchedule("0/10 * * * * ?")
+                        );
 
                         var getCallSatisfactionJobKey = new JobKey(nameof(XingTangCallSatisfactionSyncJob));
                         d.AddJob<XingTangCallSatisfactionSyncJob>(getCallSatisfactionJobKey);

+ 1 - 1
src/Hotline.Application/Exam/Interface/ExamManages/IExamManageService.cs

@@ -1,7 +1,7 @@
 using Exam.Share;
 using Exam.Share.ViewResponses.Exam;
 using Hotline.Exams.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Requests.Exam;
 using Microsoft.AspNetCore.Http;
 

+ 1 - 1
src/Hotline.Application/Exam/Interface/ExamManages/IExamTagService.cs

@@ -1,5 +1,5 @@
 using Hotline.Exams.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.ExamManages;
 using Hotline.Share.Requests.Exam;
 using Hotline.Share.ViewResponses.Exam;

+ 1 - 1
src/Hotline.Application/Exam/Interface/ExamManages/IExtractRuleService.cs

@@ -1,6 +1,6 @@
 using Exam.Share.ViewResponses.Exam;
 using Hotline.Exams.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.TestPapers;
 using Hotline.Share.Requests.Exam;
 using Hotline.Share.ViewResponses.Exam;

+ 1 - 1
src/Hotline.Application/Exam/Interface/ExamManages/IUnExamUserService.cs

@@ -1,6 +1,6 @@
 using Exam.Share;
 using Exam.Share.ViewResponses.Exam;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Requests.Exam;
 
 namespace Hotline.Application.Exam.Interface.ExamManages

+ 1 - 1
src/Hotline.Application/Exam/Interface/ExamManages/IUserExamResultService.cs

@@ -1,6 +1,6 @@
 using Exam.Share;
 using Exam.Share.ViewResponses.Exam;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Requests.Exam;
 
 namespace Hotline.Application.Exam.Interface.ExamManages

+ 1 - 1
src/Hotline.Application/Exam/Interface/ExamManages/IUserExamService.cs

@@ -3,7 +3,7 @@ using Exam.Share;
 using Exam.Share.Dtos.ExamManage;
 using Exam.Share.ViewResponses.Exam;
 using Hotline.Exams.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.ExamManages;
 using Hotline.Share.Requests.Exam;
 using Hotline.Share.ViewResponses.Exam;

+ 1 - 1
src/Hotline.Application/Exam/Interface/Practices/IPracticeService.cs

@@ -1,7 +1,7 @@
 using Exam.Share;
 using Exam.Share.ViewResponses.Practices;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Practices;
 using Hotline.Share.Requests.Exam;
 using Hotline.Share.Requests.TestPaper;

+ 1 - 1
src/Hotline.Application/Exam/Interface/Questions/IQuestionAnswerService.cs

@@ -1,7 +1,7 @@
 using System.ComponentModel;
 using Exam.Share;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Requests.Question;
 

+ 1 - 1
src/Hotline.Application/Exam/Interface/Questions/IQuestionKnowladgeService.cs

@@ -1,7 +1,7 @@
 using System.ComponentModel;
 using Exam.Share;
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Requests.Question;
 

+ 1 - 1
src/Hotline.Application/Exam/Interface/Questions/IQuestionOptionsService.cs

@@ -1,7 +1,7 @@
 using System.ComponentModel;
 using Exam.Share;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Requests.Question;
 

+ 1 - 1
src/Hotline.Application/Exam/Interface/Questions/IQuestionService.cs

@@ -1,6 +1,6 @@
 using Exam.Share.ViewResponses.Question;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Requests.Question;
 using Microsoft.AspNetCore.Http;

+ 1 - 1
src/Hotline.Application/Exam/Interface/Questions/IQuestionSourcewareService.cs

@@ -1,7 +1,7 @@
 using System.ComponentModel;
 using Exam.Share;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Requests.Question;
 

+ 1 - 1
src/Hotline.Application/Exam/Interface/Questions/IQuestionTagService.cs

@@ -1,7 +1,7 @@
 using System.ComponentModel;
 using Exam.Share;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Requests.Question;
 

+ 1 - 1
src/Hotline.Application/Exam/Interface/Sourcewares/ISourcewareCategoryService.cs

@@ -1,7 +1,7 @@
 using System.ComponentModel;
 using Exam.Share.ViewResponses.Sourceware;
 using Hotline.Exams.Sourcewares;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Sourcewares;
 using Hotline.Share.Requests.Sourceware;
 

+ 1 - 1
src/Hotline.Application/Exam/Interface/Sourcewares/ISourcewareService.cs

@@ -1,6 +1,6 @@
 using System.ComponentModel;
 using Hotline.Exams.Sourcewares;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Sourcewares;
 using Hotline.Share.Requests.Sourceware;
 using Hotline.Share.ViewResponses.Sourcewares;

+ 1 - 1
src/Hotline.Application/Exam/Interface/TestPapers/ITestPaperService.cs

@@ -1,6 +1,6 @@
 using Exam.Share.ViewResponses.TestPaper;
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.TestPapers;
 using Hotline.Share.Requests.Exam;
 using Hotline.Share.Requests.TestPaper;

+ 1 - 1
src/Hotline.Application/Exam/Interface/Train/ITrainPlanService.cs

@@ -1,7 +1,7 @@
 using Exam.Share;
 using Exam.Share.ViewResponses.Train;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Requests.Train;
 
 namespace Hotline.Application.Exam.Interface.Train

+ 1 - 1
src/Hotline.Application/Exam/Interface/Train/ITrainRecordAnswerService.cs

@@ -1,5 +1,5 @@
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Trains;
 
 namespace Hotline.Application.Exam.Interface.Train

+ 1 - 1
src/Hotline.Application/Exam/Interface/Train/ITrainRecordService.cs

@@ -1,7 +1,7 @@
 using Exam.Share.Dtos.Trains;
 using Exam.Share.ViewResponses.Train;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Trains;
 using Hotline.Share.Requests.Train;
 using Hotline.Share.ViewResponses.Trains;

+ 1 - 1
src/Hotline.Application/Exam/Interface/Train/ITrainTemplateService.cs

@@ -1,6 +1,6 @@
 using Exam.Share.ViewResponses.Train;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using Hotline.Share.Dtos.Trains;
 using Hotline.Share.Requests.Train;
 

+ 3 - 6
src/Hotline.Application/Exam/Proxy/ExamManageProxy.cs

@@ -1,13 +1,10 @@
-using Exam.Repository.Sqlsugar.Repositories;
-using Hotline.Exams.ExamManages;
-using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar;
+using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Exams;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Questions;
-using Hotline.Repository.SqlSugar.Extensions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
 using MapsterMapper;
 using SqlSugar;
 using XF.Domain.Authentications;

+ 3 - 3
src/Hotline.Application/Exam/Proxy/TestPaperProxy.cs

@@ -1,16 +1,16 @@
-using Exam.Repository.Sqlsugar.Repositories;
-using Hotline.Exams.TestPapers;
+using Hotline.Exams.TestPapers;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Questions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.TestPapers;
-using Hotline.Repository.SqlSugar.Extensions;
 using MapsterMapper;
 using SqlSugar;
 using System.Threading;
 using Hotline.Exams.Questions;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
 using XF.Domain.Authentications;
 using XF.Domain.Repository;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 
 namespace Hotline.Application.Exam.Proxy
 {

+ 3 - 14
src/Hotline.Application/Exam/Service/ExamManages/ExamManageService.cs

@@ -1,48 +1,37 @@
 using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Enums;
 using Exam.Infrastructure.Extensions;
-using Exam.Insfrastructure.Service.Service;
-using Exam.Repository.Sqlsugar.Repositories;
 using Exam.Share;
 using Exam.Share.ViewResponses.Exam;
 using Hotline.Application.Exam.Interface.ExamManages;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
-using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Requests.Exam;
-using JiebaNet.Segmenter.Common;
 using MapsterMapper;
 using SqlSugar;
 using XF.Domain.Dependency;
 using XF.Domain.Entities;
-using Hotline.Repository.SqlSugar.Extensions;
 using Hotline.Application.Exam.QueryExtensions.ExamManages;
 using XF.Domain.Exceptions;
-using NetTaste;
-using Exam.Infrastructure.Validation.Validation;
 using Hotline.Application.Exam.Extensions;
 using XF.Domain.Authentications;
 using Hotline.Repository.SqlSugar.Exam.Core.Constants;
-using Exam.Repository.Sqlsugar.Repositories.ExamManages;
-using NPOI.SS.Formula.Functions;
 using Hotline.Exams.TestPapers;
 using Hotline.Application.Exam.Proxy;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.TestPapers;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Questions;
-using Microsoft.AspNetCore.Http;
-using Hotline.Tools;
 using Hotline.Users;
-using System.Buffers;
-using Exam.Repository.Sqlsugar.Repositories.TestPapers;
 using Hotline.Application.Exam.Core.Extensions;
 using Hotline.Application.Exam.Core.Utilities;
 using Hotline.Exams.ExamManages;
 using Hotline.Exams.Questions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Exams;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
 using ExamErrorMessage = Hotline.Exams.Validate.ExamErrorMessage;
 using ExamQuestion = Hotline.Exams.Questions.ExamQuestion;
+using Hotline.Repository.SqlSugar.Exam.Service;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 
 namespace Hotline.Application.Exam.Service.ExamManages
 {

+ 1 - 1
src/Hotline.Application/Exam/Service/ExamManages/ExamTagService.cs

@@ -1,7 +1,6 @@
 using Exam.Application.Interface.Exam;
 using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Extensions;
-using Exam.Insfrastructure.Service.Service;
 using Exam.Share.ViewResponses.Sourceware;
 using Hotline.Application.Exam.Constants.Messages;
 using Hotline.Application.Exam.Extensions;
@@ -20,6 +19,7 @@ using Hotline.Application.Exam.Interface.ExamManages;
 using Hotline.Exams.ExamManages;
 using XF.Domain.Dependency;
 using XF.Domain.Exceptions;
+using Hotline.Repository.SqlSugar.Exam.Service;
 
 namespace Hotline.Application.Exam.Service.ExamManages
 {

+ 3 - 3
src/Hotline.Application/Exam/Service/ExamManages/ExtractRuleService.cs

@@ -3,8 +3,6 @@ using Exam.Application.Interface.Exam;
 using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Enums;
 using Exam.Infrastructure.Extensions;
-using Exam.Insfrastructure.Service.Service;
-using Exam.Repository.Sqlsugar.Repositories;
 using Exam.Share.ViewResponses.Exam;
 using Hotline.Application.Exam.Core.Extensions;
 using Hotline.Application.Exam.Core.Utilities;
@@ -16,9 +14,11 @@ using Hotline.Exams.Questions;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Core.Constants;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Questions;
-using Hotline.Repository.SqlSugar.Extensions;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
+using Hotline.Repository.SqlSugar.Exam.Service;
 using Hotline.Share.Dtos.TestPapers;
 using Hotline.Share.Requests.Exam;
 using Hotline.Share.Tools;

+ 4 - 18
src/Hotline.Application/Exam/Service/ExamManages/UserExamService.cs

@@ -1,14 +1,7 @@
-using DocumentFormat.OpenXml.Drawing;
-using DocumentFormat.OpenXml.Drawing.Charts;
-using DocumentFormat.OpenXml.Office2010.Excel;
-using Exam.Application.Interface.Exam;
+using Exam.Application.Interface.Exam;
 using Exam.Infrastructure.Data.Entity;
-using Exam.Infrastructure.Data.Interface;
 using Exam.Infrastructure.Enums;
 using Exam.Infrastructure.Extensions;
-using Exam.Infrastructure.Validation.Validation;
-using Exam.Insfrastructure.Service.Service;
-using Exam.Repository.Sqlsugar.Repositories;
 using Exam.Share;
 using Exam.Share.Dtos.ExamManage;
 using Exam.Share.ViewResponses.Exam;
@@ -18,15 +11,10 @@ using Hotline.Application.Exam.Interface.Strategy;
 using Hotline.Application.Exam.QueryExtensions.ExamManages;
 using Hotline.Application.Exam.Strategy;
 using Hotline.Exams.ExamManages;
-using Hotline.Exams.TestPapers;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages;
-using Hotline.Repository.SqlSugar.Extensions;
-using Hotline.Repository.SqlSugar.Interface;
-using Hotline.Settings;
 using Hotline.Share.Dtos.ExamManages;
-using Hotline.Share.Dtos.Org;
 using Hotline.Share.Exams.Extensions;
 using Hotline.Share.Requests.Exam;
 using Hotline.Share.ViewResponses;
@@ -34,19 +22,17 @@ using Hotline.Share.ViewResponses.Exam;
 using Hotline.Users;
 using JiebaNet.Segmenter.Common;
 using MapsterMapper;
-using NPOI.SS.Formula.Functions;
-using SqlSugar;
-using System.Linq;
-using System.Threading.Tasks;
 using Hotline.Application.Exam.Core.Utilities;
 using Hotline.Application.Exam.Interface.ExamManages;
-using Hotline.Exams.Questions;
 using Hotline.Exams.Validate;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
 using XF.Domain.Authentications;
 using XF.Domain.Dependency;
 using XF.Domain.Exceptions;
 using XF.Domain.Repository;
 using ExamQuestion = Hotline.Exams.Questions.ExamQuestion;
+using Hotline.Repository.SqlSugar.Exam.Service;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 
 namespace Hotline.Application.Exam.Service.ExamManages
 {

+ 3 - 3
src/Hotline.Application/Exam/Service/Practices/PracticeService.cs

@@ -1,8 +1,6 @@
 using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Data.Interface;
-using Exam.Insfrastructure.Service.Service;
 using Exam.Repository.Sqlsugar;
-using Exam.Repository.Sqlsugar.Repositories;
 using Exam.Share;
 using Exam.Share.ViewResponses.Exam;
 using Exam.Share.ViewResponses.Practices;
@@ -19,7 +17,6 @@ using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Core.Constants;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Practices;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Questions;
-using Hotline.Repository.SqlSugar.Extensions;
 using Hotline.Share.Dtos.Practices;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Dtos.TestPapers;
@@ -36,8 +33,11 @@ using SqlSugar;
 using System.Linq;
 using Hotline.Application.Exam.Interface.Practices;
 using Hotline.Exams.Questions;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
 using XF.Domain.Authentications;
 using XF.Domain.Dependency;
+using Hotline.Repository.SqlSugar.Exam.Service;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 
 namespace Hotline.Application.Exam.Service.Practices
 {

+ 3 - 3
src/Hotline.Application/Exam/Service/Questions/QuestionService.cs

@@ -3,15 +3,12 @@ using Exam.Application;
 using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Enums;
 using Exam.Infrastructure.Extensions;
-using Exam.Insfrastructure.Service.Service;
-using Exam.Repository.Sqlsugar.Repositories;
 using Exam.Share.ViewResponses.Question;
 using Hotline.Application.Exam.QueryExtensions.Questions;
 using Hotline.Exams.Sourcewares;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Questions;
-using Hotline.Repository.SqlSugar.Extensions;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Requests.Question;
 using JiebaNet.Segmenter.Common;
@@ -37,12 +34,15 @@ using Hotline.Application.Exam.Core.Utilities;
 using Hotline.Application.Exam.Interface.Questions;
 using Hotline.Exams.ExamManages;
 using Hotline.Exams.Questions;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
 using Hotline.Share.Dtos.TestPapers;
 using ExamQuestion = Hotline.Exams.Questions.ExamQuestion;
 using ExamQuestionAnswer = Hotline.Exams.Questions.ExamQuestionAnswer;
 using ExamQuestionKnowladge = Hotline.Exams.Questions.ExamQuestionKnowladge;
 using ExamQuestionOptions = Hotline.Exams.Questions.ExamQuestionOptions;
 using ExamQuestionSourceware = Hotline.Exams.Questions.ExamQuestionSourceware;
+using Hotline.Repository.SqlSugar.Exam.Service;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 
 namespace Hotline.Application.Exam.Service.Questions
 {

+ 1 - 1
src/Hotline.Application/Exam/Service/Sourcewares/SourcewareCategoryService.cs

@@ -1,7 +1,6 @@
 using System.ComponentModel;
 using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Extensions;
-using Exam.Insfrastructure.Service.Service;
 using Exam.Share.ViewResponses.Sourceware;
 using Hotline.Application.Exam.Constants.Messages;
 using Hotline.Application.Exam.Extensions;
@@ -10,6 +9,7 @@ using Hotline.Application.Exam.QueryExtensions.Sourcewares;
 using Hotline.Exams.Sourcewares;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Sourcewares;
+using Hotline.Repository.SqlSugar.Exam.Service;
 using Hotline.Share.Dtos.Sourcewares;
 using Hotline.Share.Requests.Sourceware;
 using MapsterMapper;

+ 1 - 1
src/Hotline.Application/Exam/Service/Sourcewares/SourcewareService.cs

@@ -3,7 +3,6 @@ using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Data.Interface;
 using Exam.Infrastructure.Extensions;
 using Exam.Infrastructure.Validation.Constants;
-using Exam.Insfrastructure.Service.Service;
 using Hotline.Exams.Sourcewares;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
@@ -18,6 +17,7 @@ using System.ComponentModel;
 using Hotline.Application.Exam.Interface.Sourcewares;
 using Hotline.Application.Exam.QueryExtensions.Sourcewares;
 using XF.Domain.Dependency;
+using Hotline.Repository.SqlSugar.Exam.Service;
 
 namespace Hotline.Application.Exam.Service.Sourcewares
 {

+ 3 - 4
src/Hotline.Application/Exam/Service/TestPapers/TestPaperService.cs

@@ -3,10 +3,7 @@ using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Data.Interface;
 using Exam.Infrastructure.Enums;
 using Exam.Infrastructure.Extensions;
-using Exam.Insfrastructure.Service.Service;
 using Exam.Repository.Sqlsugar;
-using Exam.Repository.Sqlsugar.Repositories;
-using Exam.Repository.Sqlsugar.Repositories.TestPapers;
 using Exam.Share.ViewResponses.TestPaper;
 using Hotline.Application.Exam.Core.Extensions;
 using Hotline.Application.Exam.Extensions;
@@ -19,7 +16,6 @@ using Hotline.Repository.SqlSugar.Exam.Core.Constants;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Questions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.TestPapers;
 using Hotline.Repository.SqlSugar.Exam.Repositories.TestPapers;
-using Hotline.Repository.SqlSugar.Extensions;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Dtos.TestPapers;
 using Hotline.Share.Dtos.Trains;
@@ -38,6 +34,7 @@ using Hotline.Application.Exam.Core.Utilities;
 using Hotline.Application.Exam.Interface.TestPapers;
 using Hotline.Exams.ExamManages;
 using Hotline.Exams.Questions;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
 using XF.Domain.Authentications;
 using XF.Domain.Dependency;
 using XF.Domain.Repository;
@@ -46,6 +43,8 @@ using ExamQuestionAnswer = Hotline.Exams.Questions.ExamQuestionAnswer;
 using ExamQuestionKnowladge = Hotline.Exams.Questions.ExamQuestionKnowladge;
 using ExamQuestionOptions = Hotline.Exams.Questions.ExamQuestionOptions;
 using ExamQuestionSourceware = Hotline.Exams.Questions.ExamQuestionSourceware;
+using Hotline.Repository.SqlSugar.Exam.Service;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 
 namespace Hotline.Application.Exam.Service.TestPapers
 {

+ 3 - 3
src/Hotline.Application/Exam/Service/Trains/TrainPlanService.cs

@@ -2,8 +2,6 @@
 using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Enums;
 using Exam.Infrastructure.Extensions;
-using Exam.Insfrastructure.Service.Service;
-using Exam.Repository.Sqlsugar.Repositories;
 using Exam.Share;
 using Exam.Share.ViewResponses.Train;
 using Hotline.Application.Exam.Core.Constants;
@@ -16,8 +14,10 @@ using Hotline.Exams.Trains;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Core.Constants;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Trains;
-using Hotline.Repository.SqlSugar.Extensions;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
+using Hotline.Repository.SqlSugar.Exam.Service;
 using Hotline.Share.Dtos.Trains;
 using Hotline.Share.Requests.Train;
 using Hotline.Users;

+ 3 - 4
src/Hotline.Application/Exam/Service/Trains/TrainRecordService.cs

@@ -1,8 +1,5 @@
 using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Validation.Validation;
-using Exam.Insfrastructure.Service.Service;
-using Exam.Repository.Sqlsugar.Repositories;
-using Exam.Repository.Sqlsugar.Repositories.Trains;
 using Exam.Share.Dtos.Trains;
 using Exam.Share.ViewResponses.Train;
 using Hotline.Application.Exam.Core.Extensions;
@@ -14,7 +11,6 @@ using Hotline.Exams.Trains;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Trains;
-using Hotline.Repository.SqlSugar.Extensions;
 using Hotline.Share.Dtos.Questions;
 using Hotline.Share.Dtos.Trains;
 using Hotline.Share.Requests.Exam;
@@ -31,7 +27,10 @@ using NPOI.SS.Formula.Functions;
 using Hotline.Repository.SqlSugar.Exam.Repositories.Trains;
 using static NPOI.HSSF.Util.HSSFColor;
 using DocumentFormat.OpenXml.Drawing.Charts;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
 using JiebaNet.Segmenter.Common;
+using Hotline.Repository.SqlSugar.Exam.Service;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 
 namespace Hotline.Application.Exam.Service.Trains
 {

+ 4 - 8
src/Hotline.Application/Exam/Service/Trains/TrainTemplateService.cs

@@ -1,9 +1,6 @@
-using DocumentFormat.OpenXml.Office2010.Excel;
-using Exam.Infrastructure.Data.Entity;
+using Exam.Infrastructure.Data.Entity;
 using Exam.Infrastructure.Enums;
 using Exam.Infrastructure.Extensions;
-using Exam.Insfrastructure.Service.Service;
-using Exam.Repository.Sqlsugar.Repositories;
 using Exam.Share.ViewResponses.Train;
 using Hotline.Application.Exam.Core.Constants;
 using Hotline.Application.Exam.Core.Extensions;
@@ -12,16 +9,15 @@ using Hotline.Application.Exam.Extensions;
 using Hotline.Application.Exam.Interface.Train;
 using Hotline.Application.Exam.QueryExtensions.Trains;
 using Hotline.Exams.Questions;
-using Hotline.Exams.TestPapers;
 using Hotline.Exams.Trains;
 using Hotline.Repository.SqlSugar;
 using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Core.Constants;
+using Hotline.Repository.SqlSugar.Exam.Extensions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Questions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.Trains;
-using Hotline.Repository.SqlSugar.Extensions;
-using Hotline.Repository.SqlSugar.Interface;
-using Hotline.Share.Dtos.Questions;
+using Hotline.Repository.SqlSugar.Exam.Repositories;
+using Hotline.Repository.SqlSugar.Exam.Service;
 using Hotline.Share.Dtos.Trains;
 using Hotline.Share.Requests.Train;
 using JiebaNet.Segmenter.Common;

+ 10 - 10
src/Hotline.Repository.SqlSugar/Extensions/ApiServiceExtension.cs → src/Hotline.Repository.SqlSugar/Exam/Extensions/ApiServiceExtension.cs

@@ -6,11 +6,11 @@ using XF.Domain.Authentications;
 using XF.Domain.Entities;
 using XF.Domain.Repository;
 
-namespace Hotline.Repository.SqlSugar.Extensions
+namespace Hotline.Repository.SqlSugar.Exam.Extensions
 {
     public static class ApiServiceExtension
     {
-        public static void ToInsert<T>(this T entity,ISessionContext sessionContext=null) where T : class, IEntity<string>, new()
+        public static void ToInsert<T>(this T entity, ISessionContext sessionContext = null) where T : class, IEntity<string>, new()
         {
             if (entity.Id.IsNullOrEmpty())
             {
@@ -26,11 +26,11 @@ namespace Hotline.Repository.SqlSugar.Extensions
                 if (creationEntity != null)
                 {
                     creationEntity.CreationTime = DateTime.Now;
-                   
+
                 }
             }
 
-            if(entity is ExamBusinessEntity)
+            if (entity is ExamBusinessEntity)
             {
                 var creationEntity = entity as ExamBusinessEntity;
                 if (creationEntity != null)
@@ -52,13 +52,13 @@ namespace Hotline.Repository.SqlSugar.Extensions
                     current.CreatorName = sessionContext.UserName;
                     current.AreaId = sessionContext.AreaId;
                 }
-              }
+            }
 
         }
 
         public static void ToInsert<T>(this List<T> entities, ISessionContext sessionContext = null) where T : class, IEntity<string>, new()
         {
-            foreach(var entity in entities)
+            foreach (var entity in entities)
             {
                 entity.ToInsert(sessionContext);
             }
@@ -66,14 +66,14 @@ namespace Hotline.Repository.SqlSugar.Extensions
 
         public static void ToUpdate<T>(this T entity, ISessionContext sessionContext = null) where T : class, IEntity<string>, new()
         {
-            if(entity is FullStateEntity)
+            if (entity is FullStateEntity)
             {
                 var fullStateEntity = entity as FullStateEntity;
                 if (fullStateEntity != null)
                     fullStateEntity.LastModificationTime = DateTime.Now;
 
-                    entity = fullStateEntity as T ?? entity;
-                
+                entity = fullStateEntity as T ?? entity;
+
             }
 
             if (sessionContext != null)
@@ -92,7 +92,7 @@ namespace Hotline.Repository.SqlSugar.Extensions
             }
         }
 
-        public static void ToUpdate<T>(this List<T> entities, ISessionContext sessionContext = null) where T : class, IEntity<string>, new()       
+        public static void ToUpdate<T>(this List<T> entities, ISessionContext sessionContext = null) where T : class, IEntity<string>, new()
         {
             foreach (var entity in entities)
             {

+ 3 - 3
src/Hotline.Repository.SqlSugar/Interface/IApiService.cs → src/Hotline.Repository.SqlSugar/Exam/Interface/IApiService.cs

@@ -4,14 +4,14 @@ using FluentValidation;
 using XF.Domain.Dependency;
 using XF.Domain.Entities;
 
-namespace Hotline.Repository.SqlSugar.Interface
+namespace Hotline.Repository.SqlSugar.Exam.Interface
 {
-    public interface IApiService<TAdd,TUpdate,TEntity>: IDomainService 
+    public interface IApiService<TAdd, TUpdate, TEntity> : IDomainService
         where TAdd : IAddRequest
         where TUpdate : IActionRequest
         where TEntity : class, IEntity<string>, new()
     {
-        Task<string> AddAsync(TAdd actionRequest,CancellationToken cancellationToken);
+        Task<string> AddAsync(TAdd actionRequest, CancellationToken cancellationToken);
 
         Task AddAsync(List<TAdd> actionRequests, CancellationToken cancellationToken);
 

+ 6 - 0
src/Hotline.Repository.SqlSugar/Exam/Interface/IDomainService.cs

@@ -0,0 +1,6 @@
+namespace Hotline.Repository.SqlSugar.Exam.Interface
+{
+    public interface IDomainService
+    {
+    }
+}

+ 6 - 6
src/Hotline.Repository.SqlSugar/Interface/IExamRepository.cs → src/Hotline.Repository.SqlSugar/Exam/Interface/IExamRepository.cs

@@ -5,10 +5,10 @@ using SqlSugar;
 using XF.Domain.Entities;
 using XF.Domain.Repository;
 
-namespace Hotline.Repository.SqlSugar.Interface
+namespace Hotline.Repository.SqlSugar.Exam.Interface
 {
-    public interface IExamRepository<TEntity, TDBContext> :IRepository<TEntity> where TEntity : class, IEntity<string>, IHasCreationTime, IDataPermission, new()
-    where TDBContext: SugarUnitOfWork, new()
+    public interface IExamRepository<TEntity, TDBContext> : IRepository<TEntity> where TEntity : class, IEntity<string>, IHasCreationTime, IDataPermission, new()
+    where TDBContext : SugarUnitOfWork, new()
     {
         public ISugarUnitOfWork<TDBContext> UOW { get; }
 
@@ -60,7 +60,7 @@ namespace Hotline.Repository.SqlSugar.Interface
         /// <param name="entities"></param>
         /// <param name="cancellationToken"></param>
         /// <returns></returns>
-        public  Task ValidateAddAsync(List<TEntity> entities, CancellationToken cancellationToken);
+        public Task ValidateAddAsync(List<TEntity> entities, CancellationToken cancellationToken);
 
         /// <summary>
         /// 用于事务(验证修改实体)
@@ -68,7 +68,7 @@ namespace Hotline.Repository.SqlSugar.Interface
         /// <param name="entities"></param>
         /// <param name="cancellationToken"></param>
         /// <returns></returns>
-        public  Task ValidateUpdateAsync(List<TEntity> entities, CancellationToken cancellationToken);
+        public Task ValidateUpdateAsync(List<TEntity> entities, CancellationToken cancellationToken);
 
         /// <summary>
         /// 用于事务(验证删除实体)
@@ -76,7 +76,7 @@ namespace Hotline.Repository.SqlSugar.Interface
         /// <param name="entities"></param>
         /// <param name="cancellationToken"></param>
         /// <returns></returns>
-        public  Task ValidateDeleteAsync(EntityQueryRequest entityQueryRequest, CancellationToken cancellationToken);
+        public Task ValidateDeleteAsync(EntityQueryRequest entityQueryRequest, CancellationToken cancellationToken);
 
         /// <summary>
         /// 用于事务(验证新增实体)

+ 4 - 4
src/Hotline.Repository.SqlSugar/Interface/IQueryService.cs → src/Hotline.Repository.SqlSugar/Exam/Interface/IQueryService.cs

@@ -2,11 +2,11 @@
 using Exam.Infrastructure.Data.Interface;
 using XF.Domain.Dependency;
 
-namespace Hotline.Repository.SqlSugar.Interface
+namespace Hotline.Repository.SqlSugar.Exam.Interface
 {
-    public interface IQueryService<TView,TActionRequest,TQueryRequest>: IDomainService where TView : IViewResponse
-        where TQueryRequest:IQueryRequest
-        where TActionRequest:IActionRequest
+    public interface IQueryService<TView, TActionRequest, TQueryRequest> : IDomainService where TView : IViewResponse
+        where TQueryRequest : IQueryRequest
+        where TActionRequest : IActionRequest
     {
         Task<(int, List<TView>)> GetListAsync(TQueryRequest queryRequest);
 

+ 8 - 0
src/Hotline.Repository.SqlSugar/Exam/Interface/StatusActionRequest.cs

@@ -0,0 +1,8 @@
+using Exam.Infrastructure.Data.Entity;
+
+namespace Hotline.Repository.SqlSugar.Exam.Interface
+{
+    public class StatusActionRequest : ActionRequest
+    {
+    }
+}

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamAnswerRepository.cs

@@ -4,7 +4,7 @@ using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
 using Hotline.Repository.SqlSugar;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamManageRepository.cs

@@ -1,7 +1,7 @@
-using Hotline.Repository.SqlSugar.Interface;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
 using XF.Domain.Repository;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionAnswerRepository.cs

@@ -1,6 +1,6 @@
 using Hotline.Exams.ExamManages;
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using System.ComponentModel;
 using XF.Domain.Repository;
 

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionKnowladgeRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionOptionsRepository.cs

@@ -1,5 +1,5 @@
 using Hotline.Exams.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using XF.Domain.Repository;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionRepository.cs

@@ -1,7 +1,7 @@
-using Hotline.Repository.SqlSugar.Interface;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
 using XF.Domain.Repository;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Exams
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionScoreRepository.cs

@@ -4,7 +4,7 @@ using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
 using Hotline.Repository.SqlSugar;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamQuestionSourcewareRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExamTagRepository.cs

@@ -1,8 +1,8 @@
-using Hotline.Repository.SqlSugar.Interface;
 using System.ComponentModel;
 using System.Linq.Expressions;
 using Hotline.Exams.ExamManages;
 using XF.Domain.Repository;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IExtractRuleRepository.cs

@@ -4,7 +4,7 @@ using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
 using Hotline.Repository.SqlSugar;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IRuleTagRepository.cs

@@ -4,7 +4,7 @@ using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
 using Hotline.Repository.SqlSugar;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IUserExamItemOptionRepository.cs

@@ -1,5 +1,5 @@
 using Hotline.Exams.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using XF.Domain.Repository;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IUserExamItemRepository.cs

@@ -4,7 +4,7 @@ using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
 using Hotline.Repository.SqlSugar;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/ExamManages/IUserExamRepository.cs

@@ -4,7 +4,7 @@ using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
 using Hotline.Repository.SqlSugar;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeAnswerRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Practices
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeQuestionKnowladgeRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeQuestionOptionsRepository.cs

@@ -1,5 +1,5 @@
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using System;
 using System.Collections.Generic;
 using System.Linq;

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeQuestionRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Practices
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeQuestionSourcewareRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeRecordRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Practices
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Practices
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeResultItemRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Practices
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeResultRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Practices
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Practices/IPracticeTagRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Practices;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Practices
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionAnswerRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionKnowladgeRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionOptionsRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionSourcewareRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/IQuestionTagRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Questions;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Questions/ITagQuestionRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.ExamManages;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Sourcewares/ISourcewareCategoryRepository.cs

@@ -2,10 +2,10 @@
 using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
-using Hotline.Repository.SqlSugar.Interface;
 using Hotline.Share.Requests.Sourceware;
 using System.Linq.Expressions;
 using Hotline.Exams.Sourcewares;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Sourcewares
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Sourcewares/ISourcewareRepository.cs

@@ -2,8 +2,8 @@
 using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
-using Hotline.Repository.SqlSugar.Interface;
 using Hotline.Exams.Sourcewares;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Sourcewares
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemAnswerRepository.cs

@@ -1,5 +1,5 @@
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using System.ComponentModel;
 using XF.Domain.Repository;
 

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemKnowladgeRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemOptionsRepository.cs

@@ -1,5 +1,5 @@
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using XF.Domain.Repository;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.TestPapers

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.TestPapers
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperItemSourcewareRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.TestPapers
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperRuleRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.TestPapers
 {
     /// <summary>

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/TestPapers/ITestPaperRuleTagRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.TestPapers;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.TestPapers
 {
     /// <summary>

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainKnowladgeRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Trains
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPlanRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Trains
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPlanTemplateRepository.cs

@@ -1,5 +1,5 @@
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using System.ComponentModel;
 using XF.Domain.Repository;
 

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPracticeKnowladgeRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPracticeOptionsRepository.cs

@@ -1,5 +1,5 @@
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 using System;
 using System.Collections.Generic;
 using System.ComponentModel;

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPracticeRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Trains
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainPracticeSourcewareRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Questions
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainRecordAnswerRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Trains
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainRecordItemRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Trains
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainRecordRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Trains
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainTemplateRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Trains
 {

+ 1 - 1
src/Hotline.Repository.SqlSugar/Exam/Interfaces/Trains/ITrainUserRepository.cs

@@ -3,7 +3,7 @@ using SqlSugar;
 using XF.Domain.Repository;
 using System.ComponentModel;
 using Hotline.Exams.Trains;
-using Hotline.Repository.SqlSugar.Interface;
+using Hotline.Repository.SqlSugar.Exam.Interface;
 
 namespace Hotline.Repository.SqlSugar.Exam.Interfaces.Trains
 {

+ 0 - 1
src/Hotline.Repository.SqlSugar/Exam/Repositories/ExamManages/ExamAnswerRepository.cs

@@ -1,4 +1,3 @@
-using Exam.Repository.Sqlsugar.Repositories;
 using Hotline.Repository.SqlSugar.DataPermissions;
 using Hotline.Repository.SqlSugar.Exam.Interfaces.ExamManages;
 using Hotline.Repository.SqlSugar.Exam.Validators.ExamManages;

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.