Commit 824c59ad authored by 霍传世's avatar 霍传世

多线程测试生成PDF

parent b320a609
......@@ -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" + "\tregion1,\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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment