Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SchoolReportGen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
霍传世
SchoolReportGen
Commits
824c59ad
Commit
824c59ad
authored
Nov 10, 2024
by
霍传世
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多线程测试生成PDF
parent
b320a609
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/main/java/com/example/pdfgenerator/controller/GeneratorAllTypePdfByProvinceController.java
...r/controller/GeneratorAllTypePdfByProvinceController.java
+8
-8
No files found.
src/main/java/com/example/pdfgenerator/controller/GeneratorAllTypePdfByProvinceController.java
View file @
824c59ad
...
...
@@ -53,12 +53,12 @@ public class GeneratorAllTypePdfByProvinceController {
"school,exam_id,province,region1,sub_subject\n"
+
"from \n"
+
"base_school_subject_tda"
+
suffix
+
" \n"
+
" where subject_type = '常规'
group by school,exam_id,province,region1,sub_subject
\n"
;
" where subject_type = '常规' \n"
;
String
synthesisSchoolReportSql
=
"select \n"
+
"school,exam_id,province,region1\n"
+
"from \n"
+
"base_school_subject_tda"
+
suffix
+
" where subject_type = '常规'
group by school,exam_id,province,region1
\n"
;
"base_school_subject_tda"
+
suffix
+
" where subject_type = '常规' \n"
;
String
synthesisClassSubjectReportSql
=
"SELECT\n"
+
"\tclass as class_name,\n"
+
...
...
@@ -70,7 +70,7 @@ public class GeneratorAllTypePdfByProvinceController {
"FROM\n"
+
"\tbase_student_subject_tda"
+
suffix
+
"\n"
+
"where\n"
+
"subject_type = '常规'
group by class,sub_subject,school,province,region1,exam_id
\n "
;
"subject_type = '常规' \n "
;
String
synthesisClassReportSql
=
"SELECT\n"
+
"\tclass AS class_name,\n"
+
...
...
@@ -81,7 +81,7 @@ public class GeneratorAllTypePdfByProvinceController {
"FROM\n"
+
"\tbase_class_total_score_tda"
+
suffix
+
"\n"
+
"WHERE\n"
+
"\tsubject_type = '常规'
group by class,school,province,region1,exam_id
\n"
;
"\tsubject_type = '常规'\n"
;
if
(
provinceName
!=
null
){
...
...
@@ -103,13 +103,13 @@ public class GeneratorAllTypePdfByProvinceController {
}
synthesisSchoolSubjectReportSql
=
synthesisSchoolSubjectReportSql
+
"
group by school,exam_id,province,region
,sub_subject"
;
synthesisSchoolSubjectReportSql
=
synthesisSchoolSubjectReportSql
+
"
group by school,exam_id,province,region1
,sub_subject"
;
synthesisSchoolReportSql
=
synthesisSchoolReportSql
+
" "
+
"
group by school,exam_id,province,region
"
;
synthesisSchoolReportSql
=
synthesisSchoolReportSql
+
" "
+
"
group by school,exam_id,province,region1
"
;
synthesisClassSubjectReportSql
=
synthesisClassSubjectReportSql
+
" "
+
"\tGROUP BY\n"
+
"\tclass,\n"
+
"\tsub_subject,\n"
+
"\tschool,\n"
+
"\tprovince,\n"
+
"\tregion,\n"
+
"\texam_id"
;
synthesisClassSubjectReportSql
=
synthesisClassSubjectReportSql
+
" "
+
"\tGROUP BY\n"
+
"\tclass,\n"
+
"\tsub_subject,\n"
+
"\tschool,\n"
+
"\tprovince,\n"
+
"\tregion
1
,\n"
+
"\texam_id"
;
synthesisClassReportSql
=
synthesisClassReportSql
+
" "
+
"
GROUP BY\n"
+
"\tclass,\n"
+
"\tschool,\n"
+
"\texam_id,\n"
+
"\tprovince,\n"
+
"\tregion
\n"
;
synthesisClassReportSql
=
synthesisClassReportSql
+
" "
+
"
GROUP BY\n"
+
"\tclass,\n"
+
"\tschool,\n"
+
"\texam_id,\n"
+
"\tprovince,\n"
+
"\tregion1
\n"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment