diff --git a/src-源文件/main/resources/mapper/exam/ExamDepartMapper.xml b/src-源文件/main/resources/mapper/exam/ExamDepartMapper.xml
index 7a9a90b..57e67e0 100644
--- a/src-源文件/main/resources/mapper/exam/ExamDepartMapper.xml
+++ b/src-源文件/main/resources/mapper/exam/ExamDepartMapper.xml
@@ -1,17 +1,27 @@
+
+
+
+
+
+
+
+
+
+
`id`,`exam_id`,`depart_id`
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/exam/ExamMapper.xml b/src-源文件/main/resources/mapper/exam/ExamMapper.xml
index 8203a3b..20b2c7b 100644
--- a/src-源文件/main/resources/mapper/exam/ExamMapper.xml
+++ b/src-源文件/main/resources/mapper/exam/ExamMapper.xml
@@ -1,26 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
`id`,`title`,`content`,`open_type`,`join_type`,`level`,`state`,`time_limit`,`start_time`,`end_time`,`create_time`,`update_time`,`total_score`,`total_time`,`qualify_score`
@@ -28,69 +48,97 @@
+
+
+
-
+ extends="BaseResultMap">
+
+
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/exam/ExamRepoMapper.xml b/src-源文件/main/resources/mapper/exam/ExamRepoMapper.xml
index bc06691..399dd6b 100644
--- a/src-源文件/main/resources/mapper/exam/ExamRepoMapper.xml
+++ b/src-源文件/main/resources/mapper/exam/ExamRepoMapper.xml
@@ -1,38 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
`id`,`exam_id`,`repo_id`,`radio_count`,`radio_score`,`multi_count`,`multi_score`,`judge_count`,`judge_score`
+
+
+
+
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/paper/PaperMapper.xml b/src-源文件/main/resources/mapper/paper/PaperMapper.xml
index 8653ab1..a9e0417 100644
--- a/src-源文件/main/resources/mapper/paper/PaperMapper.xml
+++ b/src-源文件/main/resources/mapper/paper/PaperMapper.xml
@@ -27,7 +27,113 @@
`id`,`user_id`,`depart_id`,`exam_id`,`title`,`total_time`,`user_time`,`total_score`,`qualify_score`,`obj_score`,`subj_score`,`user_score`,`has_saq`,`state`,`create_time`,`update_time`,`limit_time`
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ `id`,`user_id`,`depart_id`,`exam_id`,`title`,`total_time`,`user_time`,`total_score`,`qualify_score`,`obj_score`,`subj_score`,`user_score`,`has_saq`,`state`,`create_time`,`update_time`,`limit_time`
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
`id`,`paper_id`,`answer_id`,`qu_id`,`is_right`,`checked`,`sort`,`abc`
+
+
+
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/paper/PaperQuMapper.xml b/src-源文件/main/resources/mapper/paper/PaperQuMapper.xml
index 0498b71..85b9c3f 100644
--- a/src-源文件/main/resources/mapper/paper/PaperQuMapper.xml
+++ b/src-源文件/main/resources/mapper/paper/PaperQuMapper.xml
@@ -1,58 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
`id`,`paper_id`,`qu_id`,`qu_type`,`answered`,`answer`,`sort`,`score`,`actual_score`,`is_right`
+
+ SELECT IFNULL(SUM(actual_score),0) as total
+
+ FROM el_paper_qu
+
+ WHERE paper_id=#{paperId}
+
+ AND is_right=true
+
+ AND qu_type < 4
+
+
+
+ SELECT IFNULL(SUM(actual_score),0) as total
+
+ FROM el_paper_qu
+
+ WHERE paper_id=#{paperId}
+
+ AND qu_type=4
+
+
-
+
+
+
-
+
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/qu/QuAnswerMapper.xml b/src-源文件/main/resources/mapper/qu/QuAnswerMapper.xml
index a5cfd35..1709538 100644
--- a/src-源文件/main/resources/mapper/qu/QuAnswerMapper.xml
+++ b/src-源文件/main/resources/mapper/qu/QuAnswerMapper.xml
@@ -1,20 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
`id`,`qu_id`,`is_right`,`image`,`content`,`analysis`
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/qu/QuMapper.xml b/src-源文件/main/resources/mapper/qu/QuMapper.xml
index 20ed746..f9aad13 100644
--- a/src-源文件/main/resources/mapper/qu/QuMapper.xml
+++ b/src-源文件/main/resources/mapper/qu/QuMapper.xml
@@ -1,90 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
`id`,`qu_type`,`level`,`image`,`content`,`create_time`,`update_time`,`remark`,`analysis`
+
+
+
+
+
+
+
+
+
+
+ SELECT repo_id FROM el_qu_repo po WHERE po.qu_id=#{qId}
+
+
+
+
+
+
AND q.qu_type = #{query.quType}
+
+
AND po.repo_id IN
+
#{repoId}
+
+
AND q.content LIKE CONCAT('%',#{query.content},'%')
+
+
AND q.id NOT IN
+
#{quId}
+
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/qu/QuRepoMapper.xml b/src-源文件/main/resources/mapper/qu/QuRepoMapper.xml
index 3353d6c..9ff607b 100644
--- a/src-源文件/main/resources/mapper/qu/QuRepoMapper.xml
+++ b/src-源文件/main/resources/mapper/qu/QuRepoMapper.xml
@@ -1,20 +1,32 @@
+
+
+
+
+
+
+
+
+
+
-
+
+
+
`id`,`qu_id`,`repo_id`,`qu_type`,`sort`
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/repo/RepoMapper.xml b/src-源文件/main/resources/mapper/repo/RepoMapper.xml
index d026b31..fb8573e 100644
--- a/src-源文件/main/resources/mapper/repo/RepoMapper.xml
+++ b/src-源文件/main/resources/mapper/repo/RepoMapper.xml
@@ -1,19 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
`id`,`code`,`title`,`radio_count`,`multi_count`,`judge_count`,`remark`,`create_time`,`update_time`
@@ -21,25 +34,40 @@
+
+
+
-
+
+
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/sys/depart/SysDepartMapper.xml b/src-源文件/main/resources/mapper/sys/depart/SysDepartMapper.xml
index 2bae742..3135548 100644
--- a/src-源文件/main/resources/mapper/sys/depart/SysDepartMapper.xml
+++ b/src-源文件/main/resources/mapper/sys/depart/SysDepartMapper.xml
@@ -1,19 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
`id`,`dept_type`,`parent_id`,`dept_name`,`dept_code`,`sort`
@@ -21,20 +34,29 @@
+
+
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/sys/system/SysDictMapper.xml b/src-源文件/main/resources/mapper/sys/system/SysDictMapper.xml
index 194ff86..372e9e6 100644
--- a/src-源文件/main/resources/mapper/sys/system/SysDictMapper.xml
+++ b/src-源文件/main/resources/mapper/sys/system/SysDictMapper.xml
@@ -1,9 +1,22 @@
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/sys/user/SysRoleMapper.xml b/src-源文件/main/resources/mapper/sys/user/SysRoleMapper.xml
index f79fbf6..151ec24 100644
--- a/src-源文件/main/resources/mapper/sys/user/SysRoleMapper.xml
+++ b/src-源文件/main/resources/mapper/sys/user/SysRoleMapper.xml
@@ -1,16 +1,25 @@
+
+
+
+
+
+
+
-
+
+
+
`id`,`role_name`
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/sys/user/SysUserMapper.xml b/src-源文件/main/resources/mapper/sys/user/SysUserMapper.xml
index 7d9c81f..cb212de 100644
--- a/src-源文件/main/resources/mapper/sys/user/SysUserMapper.xml
+++ b/src-源文件/main/resources/mapper/sys/user/SysUserMapper.xml
@@ -1,24 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
`id`,`user_name`,`real_name`,`password`,`salt`,`role_ids`,`depart_id`,`create_time`,`update_time`,`state`
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/sys/user/SysUserRoleMapper.xml b/src-源文件/main/resources/mapper/sys/user/SysUserRoleMapper.xml
index f2ea833..4c70916 100644
--- a/src-源文件/main/resources/mapper/sys/user/SysUserRoleMapper.xml
+++ b/src-源文件/main/resources/mapper/sys/user/SysUserRoleMapper.xml
@@ -1,17 +1,27 @@
+
+
+
+
+
+
+
+
-
+
+
+
`id`,`user_id`,`role_id`
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/user/UserBookMapper.xml b/src-源文件/main/resources/mapper/user/UserBookMapper.xml
index 17d6775..2489cad 100644
--- a/src-源文件/main/resources/mapper/user/UserBookMapper.xml
+++ b/src-源文件/main/resources/mapper/user/UserBookMapper.xml
@@ -1,23 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
`id`,`exam_id`,`user_id`,`qu_id`,`create_time`,`update_time`,`wrong_count`,`title`,`sort`
-
+
\ No newline at end of file
diff --git a/src-源文件/main/resources/mapper/user/UserExamMapper.xml b/src-源文件/main/resources/mapper/user/UserExamMapper.xml
index d123ee7..470fc6b 100644
--- a/src-源文件/main/resources/mapper/user/UserExamMapper.xml
+++ b/src-源文件/main/resources/mapper/user/UserExamMapper.xml
@@ -1,21 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
`id`,`user_id`,`exam_id`,`try_count`,`max_score`,`passed`,`create_time`,`update_time`
@@ -23,32 +38,46 @@
+
+
-
+
+
-
+
\ No newline at end of file