Sfoglia il codice sorgente

优化子模块共同代码

tags/正式3.13.0
王宁 1 anno fa
parent
commit
f63383111e
81 ha cambiato i file con 28 aggiunte e 224 eliminazioni
  1. 0
    116
      sapi/src/main/java/com/xhkjedu/sapi/vo/system/UserVo.java
  2. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/SclassApplication.java
  3. 7
    0
      sclass/src/main/java/com/xhkjedu/sclass/config/ConfigKey.java
  4. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/config/ScheduledConfig.java
  5. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/controller/classroom/ClassroomController.java
  6. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/controller/classroom/ClassroomVideoController.java
  7. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/controller/status/StatusController.java
  8. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/interceptors/HttpServletFilter.java
  9. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/interceptors/RequestInterceptor.java
  10. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/interceptors/RequestWrapper.java
  11. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/interceptors/WebMvcConfg.java
  12. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomActivestudentMapper.java
  13. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomAskstudentMapper.java
  14. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomAskteacherMapper.java
  15. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomFileMapper.java
  16. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomMapper.java
  17. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperFileMapper.java
  18. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperMapper.java
  19. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperQtypeMapper.java
  20. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperScantronMapper.java
  21. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperStudentMapper.java
  22. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperStudentScantronMapper.java
  23. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomSignMapper.java
  24. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomVideoMapper.java
  25. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroom.java
  26. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomActivestudent.java
  27. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomAskstudent.java
  28. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomAskteacher.java
  29. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomFile.java
  30. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaper.java
  31. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperFile.java
  32. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperQtype.java
  33. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperScantron.java
  34. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperStudent.java
  35. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperStudentScantron.java
  36. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomSign.java
  37. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomVideo.java
  38. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/paperstudent/TPaperStudent.java
  39. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/model/paperstudent/TPaperStudentScantron.java
  40. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/service/classroom/ClassroomPaperService.java
  41. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/service/classroom/ClassroomService.java
  42. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/service/classroom/ClassroomVideoService.java
  43. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/task/UriMapTask.java
  44. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/utils/ArithUtil.java
  45. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/utils/ClassUtil.java
  46. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ObjectiveAnswerVo.java
  47. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ObjectiveVo.java
  48. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ReportEQuestionVo.java
  49. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ReportExamVo.java
  50. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ReportRoomVo.java
  51. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomAskTeacherVo.java
  52. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomCorrectCallVo.java
  53. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomCorrectExamVo.java
  54. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomCorrectVo.java
  55. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomVo.java
  56. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/SubjectiveVo.java
  57. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/paper/CheckClassVo.java
  58. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/paper/PaperVo.java
  59. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/paperstudent/StudentVo.java
  60. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/room/RoomPVo.java
  61. 0
    0
      sclass/src/main/java/com/xhkjedu/sclass/vo/room/RoomParamVo.java
  62. 0
    0
      sclass/src/test/java/com/xhkjedu/sclass/SclassApplicationTests.java
  63. 0
    43
      scommons/src/main/java/com/xhkjedu/annotation/ScalaParam.java
  64. 0
    0
      scommons/src/main/java/com/xhkjedu/vo/system/UserVo.java
  65. 0
    18
      sexam/src/main/java/com/xhkjedu/sexam/vo/system/UserVo.java
  66. 2
    2
      slog/src/main/java/com/xhkjedu/slog/SlogApplication.java
  67. 1
    1
      slog/src/main/java/com/xhkjedu/slog/config/ConfigKey.java
  68. 1
    1
      slog/src/main/java/com/xhkjedu/slog/config/RabbitConfig.java
  69. 1
    1
      slog/src/main/java/com/xhkjedu/slog/config/ScheduledConfig.java
  70. 2
    2
      slog/src/main/java/com/xhkjedu/slog/controller/log/HandleLogController.java
  71. 1
    1
      slog/src/main/java/com/xhkjedu/slog/controller/status/StatusController.java
  72. 1
    1
      slog/src/main/java/com/xhkjedu/slog/interceptors/HttpServletFilter.java
  73. 2
    2
      slog/src/main/java/com/xhkjedu/slog/interceptors/RequestInterceptor.java
  74. 1
    1
      slog/src/main/java/com/xhkjedu/slog/interceptors/RequestWrapper.java
  75. 1
    5
      slog/src/main/java/com/xhkjedu/slog/mapper/log/HandleLogMapper.java
  76. 2
    2
      slog/src/main/java/com/xhkjedu/slog/mq/HandleLogMq.java
  77. 2
    2
      slog/src/main/java/com/xhkjedu/slog/service/log/HandleLogService.java
  78. 2
    2
      slog/src/main/java/com/xhkjedu/slog/task/UriMapTask.java
  79. 1
    1
      slog/src/main/java/com/xhkjedu/slog/utils/LogUtil.java
  80. 0
    22
      slog/src/main/java/com/xhkjedu/slog/vo/UserVo.java
  81. 1
    1
      slog/src/test/java/com/xhkjedu/slog/SlogApplicationTests.java

+ 0
- 116
sapi/src/main/java/com/xhkjedu/sapi/vo/system/UserVo.java Vedi File

@@ -1,116 +0,0 @@
1
-package com.xhkjedu.sapi.vo.system;
2
-
3
-import lombok.Data;
4
-
5
-/**
6
- * @ClassName UserVo
7
- * Description
8
- * Author WN
9
- * Date 2020/5/29 17:16
10
- **/
11
-@Data
12
-public class UserVo {
13
-    //用户表
14
-    private Integer userid;
15
-
16
-    //姓名
17
-    private String username;
18
-
19
-    //登录账号
20
-    private String loginname;
21
-
22
-    //登录密码
23
-    private String loginpwd;
24
-
25
-    //学生学号
26
-    private String studentno;
27
-
28
-    //用户手机号
29
-    private String userphone;
30
-
31
-    //出生日期
32
-    private Integer userbirthday;
33
-
34
-    //身份证号
35
-    private String cardid;
36
-
37
-    //头像地址
38
-    private String headpic;
39
-
40
-    //用户类型999超级管理员0学校管理员1老师2学生
41
-    private Integer usertype;
42
-
43
-    //用户状态1正常2删除
44
-    private Integer userstate;
45
-
46
-    //是否绑定硬件地址0不绑定1绑定
47
-    private Integer bindmac;
48
-
49
-    //硬件地址
50
-    private String mac;
51
-
52
-    //硬件地址绑定的账号
53
-    private String macname;
54
-
55
-    //学校是否绑定硬件地址0不绑定1绑定
56
-    private Integer sbindmac;
57
-
58
-    //操作密码(教师操作密码)
59
-    private String opepassword;
60
-
61
-    //创建人id
62
-    private Integer createid;
63
-
64
-    //创建人姓名
65
-    private String createname;
66
-
67
-    //创建时间
68
-    private Integer createtime;
69
-
70
-    //删除人id
71
-    private Integer deleteid;
72
-
73
-    //删除时间
74
-    private Integer deletetime;
75
-
76
-    //学校id
77
-    private Integer schoolid;
78
-
79
-    private String schoolname;
80
-
81
-    //学校阶段1小学2初中3高中4大学
82
-    private Integer schoollevel;
83
-
84
-    //学校状态1正常10删除
85
-    private Integer schoolstate;
86
-
87
-    //错误率%
88
-    private Integer errorrate;
89
-
90
-    //当前年份
91
-    private Integer year;
92
-
93
-    //性别1男2女
94
-    private Integer usersex;
95
-
96
-    //云平台码
97
-    private String cloudcode;
98
-
99
-    //行政班数量
100
-    private Integer xznum;
101
-
102
-    //是否绑定手机号0不绑定1绑定
103
-    private Integer bindphone;
104
-
105
-    //是否有手机号0没有1有
106
-    private Integer hasphone;
107
-
108
-    //学校域名地址
109
-    private String schooldomain;
110
-
111
-    //有效期
112
-    private String usertime;
113
-    private String token_key;
114
-    private String token_value;
115
-
116
-}

sclass/src/main/java/com/xhkjedu/slog/SclassApplication.java → sclass/src/main/java/com/xhkjedu/sclass/SclassApplication.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/config/ConfigKey.java → sclass/src/main/java/com/xhkjedu/sclass/config/ConfigKey.java Vedi File

@@ -18,4 +18,11 @@ public class ConfigKey {
18 18
         this.buildnum = buildnum;
19 19
     }
20 20
 
21
+    public static String ipregiondb;//解析ip地址归属地
22
+
23
+    @Value("${ipregiondb}")
24
+    public void setIpregiondb(String ipregiondb){
25
+        ConfigKey.ipregiondb = ipregiondb;
26
+    }
27
+
21 28
 }

sclass/src/main/java/com/xhkjedu/slog/config/ScheduledConfig.java → sclass/src/main/java/com/xhkjedu/sclass/config/ScheduledConfig.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/controller/classroom/ClassroomController.java → sclass/src/main/java/com/xhkjedu/sclass/controller/classroom/ClassroomController.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/controller/classroom/ClassroomVideoController.java → sclass/src/main/java/com/xhkjedu/sclass/controller/classroom/ClassroomVideoController.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/controller/status/StatusController.java → sclass/src/main/java/com/xhkjedu/sclass/controller/status/StatusController.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/interceptors/HttpServletFilter.java → sclass/src/main/java/com/xhkjedu/sclass/interceptors/HttpServletFilter.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/interceptors/RequestInterceptor.java → sclass/src/main/java/com/xhkjedu/sclass/interceptors/RequestInterceptor.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/interceptors/RequestWrapper.java → sclass/src/main/java/com/xhkjedu/sclass/interceptors/RequestWrapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/interceptors/WebMvcConfg.java → sclass/src/main/java/com/xhkjedu/sclass/interceptors/WebMvcConfg.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomActivestudentMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomActivestudentMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomAskstudentMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomAskstudentMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomAskteacherMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomAskteacherMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomFileMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomFileMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomPaperFileMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperFileMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomPaperMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomPaperQtypeMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperQtypeMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomPaperScantronMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperScantronMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomPaperStudentMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperStudentMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomPaperStudentScantronMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomPaperStudentScantronMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomSignMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomSignMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/mapper/classroom/ClassroomVideoMapper.java → sclass/src/main/java/com/xhkjedu/sclass/mapper/classroom/ClassroomVideoMapper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroom.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroom.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomActivestudent.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomActivestudent.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomAskstudent.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomAskstudent.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomAskteacher.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomAskteacher.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomFile.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomFile.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomPaper.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaper.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomPaperFile.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperFile.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomPaperQtype.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperQtype.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomPaperScantron.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperScantron.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomPaperStudent.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperStudent.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomPaperStudentScantron.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomPaperStudentScantron.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomSign.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomSign.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/classroom/TClassroomVideo.java → sclass/src/main/java/com/xhkjedu/sclass/model/classroom/TClassroomVideo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/paperstudent/TPaperStudent.java → sclass/src/main/java/com/xhkjedu/sclass/model/paperstudent/TPaperStudent.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/model/paperstudent/TPaperStudentScantron.java → sclass/src/main/java/com/xhkjedu/sclass/model/paperstudent/TPaperStudentScantron.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/service/classroom/ClassroomPaperService.java → sclass/src/main/java/com/xhkjedu/sclass/service/classroom/ClassroomPaperService.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/service/classroom/ClassroomService.java → sclass/src/main/java/com/xhkjedu/sclass/service/classroom/ClassroomService.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/service/classroom/ClassroomVideoService.java → sclass/src/main/java/com/xhkjedu/sclass/service/classroom/ClassroomVideoService.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/task/UriMapTask.java → sclass/src/main/java/com/xhkjedu/sclass/task/UriMapTask.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/utils/ArithUtil.java → sclass/src/main/java/com/xhkjedu/sclass/utils/ArithUtil.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/utils/ClassUtil.java → sclass/src/main/java/com/xhkjedu/sclass/utils/ClassUtil.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/ObjectiveAnswerVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ObjectiveAnswerVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/ObjectiveVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ObjectiveVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/ReportEQuestionVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ReportEQuestionVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/ReportExamVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ReportExamVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/ReportRoomVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/ReportRoomVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/RoomAskTeacherVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomAskTeacherVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/RoomCorrectCallVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomCorrectCallVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/RoomCorrectExamVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomCorrectExamVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/RoomCorrectVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomCorrectVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/RoomVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/RoomVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/classroom/SubjectiveVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/classroom/SubjectiveVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/paper/CheckClassVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/paper/CheckClassVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/paper/PaperVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/paper/PaperVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/paperstudent/StudentVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/paperstudent/StudentVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/room/RoomPVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/room/RoomPVo.java Vedi File


sclass/src/main/java/com/xhkjedu/slog/vo/room/RoomParamVo.java → sclass/src/main/java/com/xhkjedu/sclass/vo/room/RoomParamVo.java Vedi File


sclass/src/test/java/com/xhkjedu/slog/SclassApplicationTests.java → sclass/src/test/java/com/xhkjedu/sclass/SclassApplicationTests.java Vedi File


+ 0
- 43
scommons/src/main/java/com/xhkjedu/annotation/ScalaParam.java Vedi File

@@ -1,43 +0,0 @@
1
-package com.xhkjedu.annotation;
2
-
3
-import org.springframework.core.annotation.AliasFor;
4
-
5
-import java.lang.annotation.*;
6
-
7
-/*
8
- * @Description:自定义注解,主要作用在需要记录操作日志的接口
9
- * @Author: WN
10
- * @Date: 2023/11/15 14:42:13
11
- **/
12
-@Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
13
-@Retention(RetentionPolicy.RUNTIME)
14
-@Documented
15
-public @interface ScalaParam {
16
-
17
-    /**
18
-     * 操作名称
19
-     */
20
-    @AliasFor("value")
21
-    String fileValue();
22
-
23
-    /**
24
-     * 操作名称
25
-     */
26
-    String name() default "";
27
-
28
-    ;
29
-
30
-    /**
31
-     * 输入类型
32
-     */
33
-    String type() default "";
34
-
35
-    /**
36
-     * 当类型是select时,此值不能为空,多个值以逗号隔开
37
-     *
38
-     * @return
39
-     */
40
-    String options() default "";
41
-
42
-
43
-}

suser/src/main/java/com/xhkjedu/suser/vo/system/UserVo.java → scommons/src/main/java/com/xhkjedu/vo/system/UserVo.java Vedi File


+ 0
- 18
sexam/src/main/java/com/xhkjedu/sexam/vo/system/UserVo.java Vedi File

@@ -1,18 +0,0 @@
1
-package com.xhkjedu.sexam.vo.system;
2
-
3
-import lombok.Data;
4
-
5
-/**
6
- * @author ywx
7
- * @className UserVo
8
- * @description 用户
9
- * @date 2022/7/28 9:45
10
- **/
11
-@Data
12
-public class UserVo {
13
-    private Integer userid;//用户id
14
-    private String username;//姓名
15
-    private String loginname;//账号
16
-    private String userphone;//手机号
17
-    private Integer classid;//班级id
18
-}

+ 2
- 2
slog/src/main/java/com/xhkjedu/slog/SlogApplication.java Vedi File

@@ -1,6 +1,6 @@
1
-package com.xhkjedu.slog;
1
+package com.xhkjedu.sclass;
2 2
 
3
-import com.xhkjedu.slog.config.ConfigKey;
3
+import com.xhkjedu.sclass.config.ConfigKey;
4 4
 import org.springframework.boot.SpringApplication;
5 5
 import org.springframework.boot.autoconfigure.SpringBootApplication;
6 6
 import tk.mybatis.spring.annotation.MapperScan;

+ 1
- 1
slog/src/main/java/com/xhkjedu/slog/config/ConfigKey.java Vedi File

@@ -1,4 +1,4 @@
1
-package com.xhkjedu.slog.config;
1
+package com.xhkjedu.sclass.config;
2 2
 
3 3
 import org.springframework.beans.factory.annotation.Value;
4 4
 import org.springframework.stereotype.Component;

+ 1
- 1
slog/src/main/java/com/xhkjedu/slog/config/RabbitConfig.java Vedi File

@@ -1,4 +1,4 @@
1
-package com.xhkjedu.slog.config;
1
+package com.xhkjedu.sclass.config;
2 2
 
3 3
 import org.springframework.amqp.core.Queue;
4 4
 import org.springframework.beans.factory.annotation.Value;

+ 1
- 1
slog/src/main/java/com/xhkjedu/slog/config/ScheduledConfig.java Vedi File

@@ -1,4 +1,4 @@
1
-package com.xhkjedu.slog.config;
1
+package com.xhkjedu.sclass.config;
2 2
 
3 3
 import org.springframework.context.annotation.Bean;
4 4
 import org.springframework.context.annotation.Condition;

+ 2
- 2
slog/src/main/java/com/xhkjedu/slog/controller/log/HandleLogController.java Vedi File

@@ -1,9 +1,9 @@
1
-package com.xhkjedu.slog.controller.log;
1
+package com.xhkjedu.sclass.controller.log;
2 2
 
3 3
 import com.github.pagehelper.PageHelper;
4 4
 import com.github.pagehelper.PageInfo;
5 5
 import com.xhkjedu.model.slog.THandleLog;
6
-import com.xhkjedu.slog.service.log.HandleLogService;
6
+import com.xhkjedu.sclass.service.log.HandleLogService;
7 7
 import com.xhkjedu.utils.N_Utils;
8 8
 import com.xhkjedu.utils.PageUtil;
9 9
 import com.xhkjedu.vo.PageResult;

+ 1
- 1
slog/src/main/java/com/xhkjedu/slog/controller/status/StatusController.java Vedi File

@@ -1,4 +1,4 @@
1
-package com.xhkjedu.slog.controller.status;
1
+package com.xhkjedu.sclass.controller.status;
2 2
 
3 3
 import com.xhkjedu.vo.ResultVo;
4 4
 import org.springframework.web.bind.annotation.GetMapping;

+ 1
- 1
slog/src/main/java/com/xhkjedu/slog/interceptors/HttpServletFilter.java Vedi File

@@ -1,4 +1,4 @@
1
-package com.xhkjedu.slog.interceptors;
1
+package com.xhkjedu.sclass.interceptors;
2 2
 
3 3
 import org.springframework.stereotype.Component;
4 4
 

+ 2
- 2
slog/src/main/java/com/xhkjedu/slog/interceptors/RequestInterceptor.java Vedi File

@@ -1,8 +1,8 @@
1
-package com.xhkjedu.slog.interceptors;
1
+package com.xhkjedu.sclass.interceptors;
2 2
 
3 3
 import com.alibaba.fastjson.JSON;
4 4
 import com.xhkjedu.exception.MissingParametersException;
5
-import com.xhkjedu.slog.utils.LogUtil;
5
+import com.xhkjedu.sclass.utils.LogUtil;
6 6
 import com.xhkjedu.utils.JedisUtil;
7 7
 import com.xhkjedu.utils.N_Utils;
8 8
 import com.xhkjedu.vo.ResultVo;

+ 1
- 1
slog/src/main/java/com/xhkjedu/slog/interceptors/RequestWrapper.java Vedi File

@@ -1,4 +1,4 @@
1
-package com.xhkjedu.slog.interceptors;
1
+package com.xhkjedu.sclass.interceptors;
2 2
 
3 3
 import lombok.extern.slf4j.Slf4j;
4 4
 

+ 1
- 5
slog/src/main/java/com/xhkjedu/slog/mapper/log/HandleLogMapper.java Vedi File

@@ -1,8 +1,7 @@
1
-package com.xhkjedu.slog.mapper.log;
1
+package com.xhkjedu.sclass.mapper.log;
2 2
 
3 3
 import com.xhkjedu.base.TkMapper;
4 4
 import com.xhkjedu.model.slog.THandleLog;
5
-import com.xhkjedu.slog.vo.UserVo;
6 5
 import org.apache.ibatis.annotations.Param;
7 6
 import org.springframework.stereotype.Repository;
8 7
 
@@ -22,7 +21,4 @@ public interface HandleLogMapper extends TkMapper<THandleLog> {
22 21
 
23 22
     //操作日志列表-区域
24 23
     List<Map> listHandleLogForCloud(@Param("log")THandleLog log);
25
-
26
-    //用户信息
27
-    UserVo getUserTypeAndSchoolid(@Param("userid")Integer userid);
28 24
 }

+ 2
- 2
slog/src/main/java/com/xhkjedu/slog/mq/HandleLogMq.java Vedi File

@@ -1,8 +1,8 @@
1
-package com.xhkjedu.slog.mq;
1
+package com.xhkjedu.sclass.mq;
2 2
 
3 3
 import com.alibaba.fastjson.JSONObject;
4 4
 import com.xhkjedu.model.slog.THandleLog;
5
-import com.xhkjedu.slog.service.log.HandleLogService;
5
+import com.xhkjedu.sclass.service.log.HandleLogService;
6 6
 import lombok.extern.slf4j.Slf4j;
7 7
 import org.springframework.amqp.core.Message;
8 8
 import org.springframework.amqp.rabbit.annotation.RabbitListener;

+ 2
- 2
slog/src/main/java/com/xhkjedu/slog/service/log/HandleLogService.java Vedi File

@@ -1,7 +1,7 @@
1
-package com.xhkjedu.slog.service.log;
1
+package com.xhkjedu.sclass.service.log;
2 2
 
3 3
 import com.xhkjedu.model.slog.THandleLog;
4
-import com.xhkjedu.slog.mapper.log.HandleLogMapper;
4
+import com.xhkjedu.sclass.mapper.log.HandleLogMapper;
5 5
 import com.xhkjedu.utils.N_Utils;
6 6
 import org.springframework.stereotype.Service;
7 7
 

+ 2
- 2
slog/src/main/java/com/xhkjedu/slog/task/UriMapTask.java Vedi File

@@ -1,6 +1,6 @@
1
-package com.xhkjedu.slog.task;
1
+package com.xhkjedu.sclass.task;
2 2
 
3
-import com.xhkjedu.slog.utils.LogUtil;
3
+import com.xhkjedu.sclass.utils.LogUtil;
4 4
 import org.springframework.scheduling.annotation.Scheduled;
5 5
 import org.springframework.stereotype.Component;
6 6
 

+ 1
- 1
slog/src/main/java/com/xhkjedu/slog/utils/LogUtil.java Vedi File

@@ -1,4 +1,4 @@
1
-package com.xhkjedu.slog.utils;
1
+package com.xhkjedu.sclass.utils;
2 2
 
3 3
 import java.util.Map;
4 4
 import java.util.concurrent.ConcurrentHashMap;

+ 0
- 22
slog/src/main/java/com/xhkjedu/slog/vo/UserVo.java Vedi File

@@ -1,22 +0,0 @@
1
-package com.xhkjedu.slog.vo;
2
-
3
-import lombok.Data;
4
-
5
-/**
6
- * @Description:用户信息
7
- * @Author: WN
8
- * @Date: 2023/11/15 12:53:37
9
- **/
10
-@Data
11
-public class UserVo {
12
-
13
-    private Integer userid;
14
-
15
-    private Integer usertype;
16
-
17
-    private String username;
18
-
19
-    private String loginname;
20
-
21
-    private Integer schoolid;
22
-}

+ 1
- 1
slog/src/test/java/com/xhkjedu/slog/SlogApplicationTests.java Vedi File

@@ -1,4 +1,4 @@
1
-package com.xhkjedu.slog;
1
+package com.xhkjedu.sclass;
2 2
 
3 3
 import org.junit.jupiter.api.Test;
4 4
 import org.springframework.boot.test.context.SpringBootTest;

Loading…
Annulla
Salva