diff --git a/src/core/process/C_MentorFillReview.java b/src/core/process/C_MentorFillReview.java index 1da074f..49c6402 100644 --- a/src/core/process/C_MentorFillReview.java +++ b/src/core/process/C_MentorFillReview.java @@ -13,10 +13,9 @@ public class C_MentorFillReview extends TempProcess { public String graduationDesignId; public Map vMap; private static String buttonName ="指导老师评阅"; - protected static String iconURL="\"../cssFile/images/fill.png\""; 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{ diff --git a/src/core/process/C_StudentSelectTeacher.java b/src/core/process/C_StudentSelectTeacher.java index 3577a9d..2a42db7 100644 --- a/src/core/process/C_StudentSelectTeacher.java +++ b/src/core/process/C_StudentSelectTeacher.java @@ -12,7 +12,6 @@ public class C_StudentSelectTeacher extends TempProcess { String studentId; String teacherId; private static String buttonName ="选择老师"; - protected static String iconURL="../cssFile/images/select.png"; protected static String targetURL="/home/student-select-teacher"; protected static String iconURL="../cssFile/images/select.png"; diff --git a/src/core/process/C_StudentUploadFinishedProduct.java b/src/core/process/C_StudentUploadFinishedProduct.java index 78e9d17..8bb0ea3 100644 --- a/src/core/process/C_StudentUploadFinishedProduct.java +++ b/src/core/process/C_StudentUploadFinishedProduct.java @@ -7,7 +7,7 @@ import java.io.File; import java.util.HashMap; import java.util.Map; -public class C_StudentUploadFinishedProduct { +public class C_StudentUploadFinishedProduct extends TempProcess { File finishedProduct; String graduationDesignId; diff --git a/src/core/process/C_StudentUploadOpeningReport.java b/src/core/process/C_StudentUploadOpeningReport.java index 0c5ec47..3ccb7e3 100644 --- a/src/core/process/C_StudentUploadOpeningReport.java +++ b/src/core/process/C_StudentUploadOpeningReport.java @@ -12,7 +12,6 @@ public class C_StudentUploadOpeningReport extends TempProcess{ String graduationDesignId; private static String buttonName ="提交开题报告"; static String file_type = "opening_report"; - protected static String iconURL="../cssFile/images/upload.png"; protected static String targetURL="/home/student-upload-opening-report"; protected static String iconURL="../cssFile/images/upload.png"; diff --git a/src/core/process/ProcessManagement.java b/src/core/process/ProcessManagement.java index ee0fae9..a961f10 100644 --- a/src/core/process/ProcessManagement.java +++ b/src/core/process/ProcessManagement.java @@ -55,6 +55,38 @@ public class ProcessManagement { return status; } public static Process getProcess(String process){ - return null; + 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(); + 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(); + + } } }