diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..15a15b2 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/core/process/C_CollegeFillOpeningReportOpinion.java b/src/core/process/C_CollegeFillOpeningReportOpinion.java index 50b9a0a..81a18e4 100644 --- a/src/core/process/C_CollegeFillOpeningReportOpinion.java +++ b/src/core/process/C_CollegeFillOpeningReportOpinion.java @@ -13,7 +13,7 @@ public class C_CollegeFillOpeningReportOpinion extends TempProcess{ Map vMap; private static String buttonName ="学院开题意见"; protected static String iconURL="../cssFile/images/fill.png"; - protected static String targetURL=""; + protected static String targetURL="/home/college-fill-opening-report-opinion"; static String table="graduation_design_opening_report_opinion_record"; diff --git a/src/core/process/C_CollegeFillScoreOpinion.java b/src/core/process/C_CollegeFillScoreOpinion.java index 7a95609..9fd004f 100644 --- a/src/core/process/C_CollegeFillScoreOpinion.java +++ b/src/core/process/C_CollegeFillScoreOpinion.java @@ -13,7 +13,9 @@ public class C_CollegeFillScoreOpinion extends TempProcess{ String graduationDesignId; Map vMap; private static String buttonName ="学院老师评分"; - protected static String iconURL="\"../cssFile/images/fill.png\""; + protected static String iconURL="../cssFile/images/fill.png"; + protected static String targetURL="/home/college-fill-score-opinion"; + static String table="graduation_design_reply_opinion_record_score"; public void fillInformation() throws Exception{ diff --git a/src/core/process/C_MentorFillOpeningReportOpinion.java b/src/core/process/C_MentorFillOpeningReportOpinion.java index a63308b..994a8b6 100644 --- a/src/core/process/C_MentorFillOpeningReportOpinion.java +++ b/src/core/process/C_MentorFillOpeningReportOpinion.java @@ -13,7 +13,9 @@ public class C_MentorFillOpeningReportOpinion extends TempProcess{ String graduationDesignId; Map vMap; private static String buttonName ="导师开题意见"; - protected static String iconURL="\"../cssFile/images/fill.png\""; + protected static String iconURL="../cssFile/images/fill.png\"; + protected static String targetURL="/home/mentor-fill-opening-report-opinion"; + static String table="graduation_design_opening_report_opinion_record"; public void fillInformation() throws Exception{ diff --git a/src/core/process/C_MentorFillReview.java b/src/core/process/C_MentorFillReview.java index fb9c53a..260c30d 100644 --- a/src/core/process/C_MentorFillReview.java +++ b/src/core/process/C_MentorFillReview.java @@ -14,6 +14,8 @@ public class C_MentorFillReview extends TempProcess { public Map vMap; private static String buttonName ="指导老师评阅"; protected static String iconURL="\"../cssFile/images/fill.png\""; + protected static String targetURL="/home/mentor-fill-review"; + static String table="graduation_design_finished_product_mentor_score"; public void teacherTeamFillOpeningReportOpinion() throws Exception{ diff --git a/src/core/process/C_ReviewerFillReview.java b/src/core/process/C_ReviewerFillReview.java index c7bd9f2..822e6be 100644 --- a/src/core/process/C_ReviewerFillReview.java +++ b/src/core/process/C_ReviewerFillReview.java @@ -13,6 +13,8 @@ public class C_ReviewerFillReview extends TempProcess { public Map 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"; diff --git a/src/core/process/C_SchoolFillScoreOpinion.java b/src/core/process/C_SchoolFillScoreOpinion.java index 169bd3c..dd4aab0 100644 --- a/src/core/process/C_SchoolFillScoreOpinion.java +++ b/src/core/process/C_SchoolFillScoreOpinion.java @@ -14,6 +14,8 @@ public class C_SchoolFillScoreOpinion extends TempProcess { Map 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{ diff --git a/src/core/process/C_SecretaryFillOpeningReportOpinion.java b/src/core/process/C_SecretaryFillOpeningReportOpinion.java index 259c64d..d64dca8 100644 --- a/src/core/process/C_SecretaryFillOpeningReportOpinion.java +++ b/src/core/process/C_SecretaryFillOpeningReportOpinion.java @@ -14,6 +14,8 @@ public class C_SecretaryFillOpeningReportOpinion extends TempProcess{ Map 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"; diff --git a/src/core/process/C_SecretaryFillReplyRecord.java b/src/core/process/C_SecretaryFillReplyRecord.java index b98ee8a..46edc4a 100644 --- a/src/core/process/C_SecretaryFillReplyRecord.java +++ b/src/core/process/C_SecretaryFillReplyRecord.java @@ -14,6 +14,8 @@ public class C_SecretaryFillReplyRecord extends TempProcess{ Map 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"; diff --git a/src/core/process/C_StudentFillGraduationDesignInformation.java b/src/core/process/C_StudentFillGraduationDesignInformation.java index 1f284c8..6462ecf 100644 --- a/src/core/process/C_StudentFillGraduationDesignInformation.java +++ b/src/core/process/C_StudentFillGraduationDesignInformation.java @@ -13,6 +13,7 @@ public class C_StudentFillGraduationDesignInformation extends TempProcess{ Map 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"; diff --git a/src/core/process/C_StudentSelectTeacher.java b/src/core/process/C_StudentSelectTeacher.java index b85e6a8..e2b73a3 100644 --- a/src/core/process/C_StudentSelectTeacher.java +++ b/src/core/process/C_StudentSelectTeacher.java @@ -12,7 +12,8 @@ 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 iconURL="../cssFile/images/select.png"; + protected static String targetURL="/home/student-select-teacher"; public void select()throws Exception{ if(!check()) throw new GExcptInit("ID Attrs init error!"); diff --git a/src/core/process/C_StudentUploadFinishedProduct.java b/src/core/process/C_StudentUploadFinishedProduct.java index 78a1652..d8729f2 100644 --- a/src/core/process/C_StudentUploadFinishedProduct.java +++ b/src/core/process/C_StudentUploadFinishedProduct.java @@ -12,7 +12,9 @@ public class C_StudentUploadFinishedProduct { File finishedProduct; String graduationDesignId; private static String buttonName ="提交定稿"; - protected static String iconURL="\"../cssFile/images/upload.png\""; + 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{ diff --git a/src/core/process/C_StudentUploadOpeningReport.java b/src/core/process/C_StudentUploadOpeningReport.java index 3ea9ea7..bdf0203 100644 --- a/src/core/process/C_StudentUploadOpeningReport.java +++ b/src/core/process/C_StudentUploadOpeningReport.java @@ -12,7 +12,8 @@ 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 iconURL="../cssFile/images/upload.png"; + protected static String targetURL="/home/student-upload-opening-report"; public void uploadOpeningReport() throws Exception{ if(!check()) throw new GExcptInit("Upload OpeningReport Attrs init error!"); diff --git a/src/core/process/C_TeacherSelectStudent.java b/src/core/process/C_TeacherSelectStudent.java index 518b368..2e2d290 100644 --- a/src/core/process/C_TeacherSelectStudent.java +++ b/src/core/process/C_TeacherSelectStudent.java @@ -13,6 +13,7 @@ public class C_TeacherSelectStudent extends TempProcess { 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!"); diff --git a/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java b/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java index 7f837ac..f24039a 100644 --- a/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java +++ b/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java @@ -14,6 +14,7 @@ public class C_TeacherTeamFillOpeningReportOpinion extends TempProcess{ Map 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"; diff --git a/src/core/process/C_TeacherTeamFillScoreOpinion.java b/src/core/process/C_TeacherTeamFillScoreOpinion.java index 036aeda..3477104 100644 --- a/src/core/process/C_TeacherTeamFillScoreOpinion.java +++ b/src/core/process/C_TeacherTeamFillScoreOpinion.java @@ -12,6 +12,8 @@ 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 vMap; diff --git a/src/servlet/S_CollegeFillOpeningReportOpinion.java b/src/servlet/S_CollegeFillOpeningReportOpinion.java index c7f7367..ca2d9bb 100644 --- a/src/servlet/S_CollegeFillOpeningReportOpinion.java +++ b/src/servlet/S_CollegeFillOpeningReportOpinion.java @@ -10,7 +10,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/college-fill-opening-report-opinion") +@WebServlet("/home/college-fill-opening-report-opinion") public class S_CollegeFillOpeningReportOpinion extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); diff --git a/src/servlet/S_CollegeFillScoreOpinion.java b/src/servlet/S_CollegeFillScoreOpinion.java index 360e082..44e29e1 100644 --- a/src/servlet/S_CollegeFillScoreOpinion.java +++ b/src/servlet/S_CollegeFillScoreOpinion.java @@ -10,7 +10,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/college-fill-score-opinion") +@WebServlet("/home/college-fill-score-opinion") public class S_CollegeFillScoreOpinion extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); diff --git a/src/servlet/S_MentorFillOpeningReportOpinion.java b/src/servlet/S_MentorFillOpeningReportOpinion.java index d35293a..6617ae6 100644 --- a/src/servlet/S_MentorFillOpeningReportOpinion.java +++ b/src/servlet/S_MentorFillOpeningReportOpinion.java @@ -10,7 +10,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/mentor-fill-opening-report-opinion") +@WebServlet("/home/mentor-fill-opening-report-opinion") public class S_MentorFillOpeningReportOpinion extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); diff --git a/src/servlet/S_MentorFillReview.java b/src/servlet/S_MentorFillReview.java index a10cf5c..44d5f65 100644 --- a/src/servlet/S_MentorFillReview.java +++ b/src/servlet/S_MentorFillReview.java @@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/mentor-fill-review") +@WebServlet("/home/mentor-fill-review") public class S_MentorFillReview extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); diff --git a/src/servlet/S_ReviewerFillReview.java b/src/servlet/S_ReviewerFillReview.java index f3c754d..e22ee73 100644 --- a/src/servlet/S_ReviewerFillReview.java +++ b/src/servlet/S_ReviewerFillReview.java @@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/reviewer-fill-review") +@WebServlet("/home/reviewer-fill-review") public class S_ReviewerFillReview extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); diff --git a/src/servlet/S_SchoolFillScoreOpinion.java b/src/servlet/S_SchoolFillScoreOpinion.java index fa1fa02..67dea85 100644 --- a/src/servlet/S_SchoolFillScoreOpinion.java +++ b/src/servlet/S_SchoolFillScoreOpinion.java @@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/school-fill-score-opinion") +@WebServlet("/home/school-fill-score-opinion") public class S_SchoolFillScoreOpinion extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); diff --git a/src/servlet/S_SecretaryFillOpeningReportRecord.java b/src/servlet/S_SecretaryFillOpeningReportRecord.java index 94f5ee1..7a0ef0e 100644 --- a/src/servlet/S_SecretaryFillOpeningReportRecord.java +++ b/src/servlet/S_SecretaryFillOpeningReportRecord.java @@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/secretary-fill-opening-report-record") +@WebServlet("/home/secretary-fill-opening-report-record") public class S_SecretaryFillOpeningReportRecord extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); diff --git a/src/servlet/S_SecretaryFillReplyRecord.java b/src/servlet/S_SecretaryFillReplyRecord.java index 9efee5e..91b72e0 100644 --- a/src/servlet/S_SecretaryFillReplyRecord.java +++ b/src/servlet/S_SecretaryFillReplyRecord.java @@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/secretary-fill-reply-record") +@WebServlet("/home/secretary-fill-reply-record") public class S_SecretaryFillReplyRecord extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); diff --git a/src/servlet/S_StudentFillGraduationDesignInformation.java b/src/servlet/S_StudentFillGraduationDesignInformation.java index 9838562..5c6d71f 100644 --- a/src/servlet/S_StudentFillGraduationDesignInformation.java +++ b/src/servlet/S_StudentFillGraduationDesignInformation.java @@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/student-fill-graduation-design-information") +@WebServlet("/home/student-fill-graduation-design-information") public class S_StudentFillGraduationDesignInformation extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { diff --git a/src/servlet/S_StudentSelectTeacher.java b/src/servlet/S_StudentSelectTeacher.java index 69b8893..452beaf 100644 --- a/src/servlet/S_StudentSelectTeacher.java +++ b/src/servlet/S_StudentSelectTeacher.java @@ -9,7 +9,7 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; -@WebServlet("/student-select-teacher") +@WebServlet("/home/student-select-teacher") public class S_StudentSelectTeacher extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { super.doPost(request, response); diff --git a/src/servlet/S_StudentUploadFinishedProduct.java b/src/servlet/S_StudentUploadFinishedProduct.java index b7271e4..23e888e 100644 --- a/src/servlet/S_StudentUploadFinishedProduct.java +++ b/src/servlet/S_StudentUploadFinishedProduct.java @@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; -@WebServlet("/student-upload-finished-product") +@WebServlet("/home/student-upload-finished-product") @MultipartConfig public class S_StudentUploadFinishedProduct extends HttpServlet { static String fileType = "graduation_design_finished_product"; diff --git a/src/servlet/S_StudentUploadOpeningReport.java b/src/servlet/S_StudentUploadOpeningReport.java index ffb5f9c..9e04357 100644 --- a/src/servlet/S_StudentUploadOpeningReport.java +++ b/src/servlet/S_StudentUploadOpeningReport.java @@ -12,7 +12,7 @@ import javax.servlet.http.Part; import java.io.IOException; import java.util.UUID; -@WebServlet("/student-upload-opening-report") +@WebServlet("/home/student-upload-opening-report") @MultipartConfig public class S_StudentUploadOpeningReport extends HttpServlet { static String fileType = "graduation_design_opening_report"; diff --git a/src/servlet/S_TeacherSelectStudent.java b/src/servlet/S_TeacherSelectStudent.java index ab880eb..d177fc0 100644 --- a/src/servlet/S_TeacherSelectStudent.java +++ b/src/servlet/S_TeacherSelectStudent.java @@ -9,7 +9,7 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; -@WebServlet("/teacher-select-student") +@WebServlet("/home/teacher-select-student") public class S_TeacherSelectStudent extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { super.doPost(request, response); diff --git a/src/servlet/S_TeacherTeamFillOpeningReportOpinion.java b/src/servlet/S_TeacherTeamFillOpeningReportOpinion.java index 2e35294..16c5612 100644 --- a/src/servlet/S_TeacherTeamFillOpeningReportOpinion.java +++ b/src/servlet/S_TeacherTeamFillOpeningReportOpinion.java @@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/teacher-team-fill-opening-report-opinion") +@WebServlet("/home/teacher-team-fill-opening-report-opinion") public class S_TeacherTeamFillOpeningReportOpinion extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); diff --git a/src/servlet/S_TeacherTeamFillScoreOpinion.java b/src/servlet/S_TeacherTeamFillScoreOpinion.java index 3a70590..63788d5 100644 --- a/src/servlet/S_TeacherTeamFillScoreOpinion.java +++ b/src/servlet/S_TeacherTeamFillScoreOpinion.java @@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Map; -@WebServlet("/teacher-team-fill-score-opinion") +@WebServlet("/home/teacher-team-fill-score-opinion") public class S_TeacherTeamFillScoreOpinion extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id");