Merge branch 'master' of C:\Users\zhai_\Documents\GDMS with conflicts.

hechu1
zhai_lw 6 years ago
parent ea7a6c6537
commit 56771ceabd

@ -0,0 +1,22 @@
com.intellij.database.serialization.ImportException: RDBMS is not specified int the model file
at com.intellij.database.serialization.ModelImporter.deserializeModel(ModelImporter.java:57)
at com.intellij.database.serialization.ModelSerializerKt.deserialize(ModelSerializer.kt:37)
at com.intellij.database.serialization.ModelSerializerKt.deserialize(ModelSerializer.kt:27)
at com.intellij.database.dataSource.DataSourceStorage.readModel(DataSourceStorage.java:683)
at com.intellij.database.dataSource.DataSourceStorage.readModel(DataSourceStorage.java:671)
at com.intellij.database.dataSource.DataSourceStorage.loadModels(DataSourceStorage.java:488)
at com.intellij.database.dataSource.DataSourceStorage.access$000(DataSourceStorage.java:90)
at com.intellij.database.dataSource.DataSourceStorage$2.run(DataSourceStorage.java:398)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:736)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:395)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

@ -12,6 +12,9 @@ public class C_CollegeFillOpeningReportOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="学院开题意见";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/college-fill-opening-report-opinion";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception {

@ -13,6 +13,10 @@ public class C_CollegeFillScoreOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="学院老师评分";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/college-fill-score-opinion";
protected static String iconURL="../cssFile/images/fill.png";
static String table="graduation_design_reply_opinion_record_score";
public void fillInformation() throws Exception{

@ -13,6 +13,10 @@ public class C_MentorFillOpeningReportOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="导师开题意见";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/mentor-fill-opening-report-opinion";
protected static String iconURL="../cssFile/images/fill.png";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception{

@ -13,6 +13,9 @@ public class C_MentorFillReview extends TempProcess {
public String graduationDesignId;
public Map<String,String> vMap;
private static String buttonName ="指导老师评阅";
protected static String targetURL="/home/mentor-fill-review";
protected static String iconURL="../cssFile/images/fill.png";
static String table="graduation_design_finished_product_mentor_score";
public void teacherTeamFillOpeningReportOpinion() throws Exception{

@ -12,6 +12,9 @@ public class C_ReviewerFillReview extends TempProcess {
public String graduationDesignId;
public Map<String,String> vMap;
private static String buttonName ="评阅老师评阅";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/reviewer-fill-review";
static String table="graduation_design_finished_product_reviewer_score";
public void TeacherTeamFillOpeningReportOpinion() throws Exception{

@ -13,6 +13,9 @@ public class C_SchoolFillScoreOpinion extends TempProcess {
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="学院老师评分";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/school-fill-score-opinion";
static String table="graduation_design_reply_opinion_record_score";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs init error!");

@ -13,6 +13,9 @@ public class C_SecretaryFillOpeningReportOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="提交开题纪要";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/secretary-fill-opening-report-record";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception{

@ -13,6 +13,9 @@ public class C_SecretaryFillReplyRecord extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="提交答辩记录";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/secretary-fill-reply-record";
static String table="graduation_design_reply_opinion_record_score";
public void fillInformation() throws Exception{

@ -12,6 +12,9 @@ public class C_StudentFillGraduationDesignInformation extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="填写选题信息";
protected static String iconURL="../cssFile/images/filText.png";
protected static String targetURL="/home/student-fill-graduation-design-information";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception{

@ -13,6 +13,9 @@ public class C_StudentSelectTeacher extends TempProcess {
String studentId;
String teacherId;
private static String buttonName ="选择老师";
protected static String targetURL="/home/student-select-teacher";
protected static String iconURL="../cssFile/images/select.png";
public void select()throws Exception{
if(!check()) throw new GExcptInit("ID Attrs init error!");
Select select=new Select();

@ -7,11 +7,14 @@ import java.io.File;
import java.util.HashMap;
import java.util.Map;
public class C_StudentUploadFinishedProduct extends TempProcess{
public class C_StudentUploadFinishedProduct extends TempProcess {
File finishedProduct;
String graduationDesignId;
private static String buttonName ="提交定稿";
protected static String iconURL="../cssFile/images/upload.png";
protected static String targetURL="/home/student-upload-finished-product";
static String file_type = "finished_product";
public void uploadOpeningReport() throws Exception{
if(!check()) throw new GExcptInit("Upload FinishedProduct Attrs init error!");

@ -12,6 +12,8 @@ public class C_StudentUploadOpeningReport extends TempProcess{
String graduationDesignId;
private static String buttonName ="提交开题报告";
static String file_type = "opening_report";
protected static String targetURL="/home/student-upload-opening-report";
protected static String iconURL="../cssFile/images/upload.png";
public void uploadOpeningReport() throws Exception{
if(!check()) throw new GExcptInit("Upload OpeningReport Attrs init error!");

@ -13,6 +13,8 @@ public class C_TeacherSelectStudent extends TempProcess {
String studentId;
String teacherId;
private static String buttonName ="选择学生";
protected static String iconURL="";
protected static String targetURL="/home/teacher-select-student";
public void select()throws Exception{
if(!check()) throw new GExcptInit("ID Attrs init error!");

@ -13,6 +13,9 @@ public class C_TeacherTeamFillOpeningReportOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="开题小组意见";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/teacher-team-fill-opening-report-opinion";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception{

@ -11,7 +11,8 @@ import java.util.Map;
public class C_TeacherTeamFillScoreOpinion extends TempProcess {
private static String buttonName = "答辩小组评分";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/teacher-team-fill-score-opinion";
String graduationDesignId;
Map<String,String> vMap;

@ -35,8 +35,8 @@ public class ProcessManagement {
Map<String,String> userTables = DBManagement.getUserStatusTables(user.getType());
String graduationDesignId = null;
for(Map.Entry<String,String> entry:userTables.entrySet()){
String[] ti = entry.getKey().split("\\.");
String[] ts = entry.getValue().split("\\.");
String[] ti = entry.getKey().split(".");
String[] ts = entry.getValue().split(".");
List<String> ls = new ArrayList<>();
ls.add("id");
Map<String,String> limits = new HashMap<>();
@ -55,11 +55,38 @@ public class ProcessManagement {
return status;
}
public static Process getProcess(String process){
switch (process){
case "finished_product_status":
switch (process) {
case "teacher_choose_student_status":
return new C_TeacherSelectStudent();
case "student_choose_teacher_status":
return new C_StudentSelectTeacher();
case"student_fill_graduation_design_information_status":
return new C_StudentFillGraduationDesignInformation();
case"opening_report_status":
return new C_StudentUploadOpeningReport();
case"opening_report_mentor_opinion_status":
return new C_MentorFillOpeningReportOpinion();
case"opening_report_teacher_team_opinion_status":
return new C_TeacherTeamFillOpeningReportOpinion();
case"opening_report_college_opinion_status":
return new C_CollegeFillOpeningReportOpinion();
case"opening_report_secretary_record_status":
return new C_SecretaryFillOpeningReportRecord();
case"finished_product_status":
return new C_StudentUploadFinishedProduct();
default:
return null;
case"finished_product_mentor_score_status":
return new C_MentorFillReview();
case"finished_product_reviewer_score_status":
return new C_ReviewerFillReview();
case"reply_ secretary_record_status":
return new C_SecretaryFillReplyRecord();
case"reply_ teacher_team_score_status":
return new C_TeacherFillTeamFillScoreOpinion();
case"reply_college_score_status":
return new C_CollegeFillScoreOpinion();
case"reply_school_score_status":
return new C_SchoolFillScoreOpinion();
}
}
}

Loading…
Cancel
Save