diff --git a/src/servlet/S_CollegeFillOpeningReportOpinion.java b/src/servlet/S_CollegeFillOpeningReportOpinion.java index ca2d9bb..5b48cb3 100644 --- a/src/servlet/S_CollegeFillOpeningReportOpinion.java +++ b/src/servlet/S_CollegeFillOpeningReportOpinion.java @@ -15,6 +15,7 @@ public class S_CollegeFillOpeningReportOpinion extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String id = request.getParameter("id"); Map vMap = servlet.Utils.getVMap(vName,request); + C_CollegeFillOpeningReportOpinion p =new C_CollegeFillOpeningReportOpinion(); p.setGraduationDesignId(id); p.setVMap(vMap); diff --git a/src/servlet/S_MentorFillReview.java b/src/servlet/S_MentorFillReview.java index 44d5f65..77f4f8a 100644 --- a/src/servlet/S_MentorFillReview.java +++ b/src/servlet/S_MentorFillReview.java @@ -1,5 +1,7 @@ package servlet; +import core.process.C_MentorFillReview; + import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; @@ -14,6 +16,16 @@ public class S_MentorFillReview extends HttpServlet { String id = request.getParameter("id"); Map vMap = servlet.Utils.getVMap(vName,request); + C_MentorFillReview p=new C_MentorFillReview(); + p.setGraduationDesignId(id); + p.setVMap(vMap); + try { + p.fillInformation(); + } catch (Exception e) { + e.printStackTrace(); + response.sendRedirect("/op_fail.jsp"); + } + } static String[] vName = { "total_grade", diff --git a/src/servlet/S_ReviewerFillReview.java b/src/servlet/S_ReviewerFillReview.java index e22ee73..1d2231a 100644 --- a/src/servlet/S_ReviewerFillReview.java +++ b/src/servlet/S_ReviewerFillReview.java @@ -1,5 +1,7 @@ package servlet; +import core.process.C_ReviewerFillReview; + import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; @@ -14,6 +16,16 @@ public class S_ReviewerFillReview extends HttpServlet { String id = request.getParameter("id"); Map vMap = servlet.Utils.getVMap(vName,request); + C_ReviewerFillReview p=new C_ReviewerFillReview(); + p.setGraduationDesignId(id); + p.setVMap(vMap); + try { + p.fillInformation(); + } catch (Exception e) { + e.printStackTrace(); + response.sendRedirect("/op_fail.jsp"); + } + } static String[] vName = { "score", diff --git a/src/servlet/S_SchoolFillScoreOpinion.java b/src/servlet/S_SchoolFillScoreOpinion.java index 67dea85..d16a1ff 100644 --- a/src/servlet/S_SchoolFillScoreOpinion.java +++ b/src/servlet/S_SchoolFillScoreOpinion.java @@ -1,5 +1,7 @@ package servlet; +import core.process.C_SchoolFillScoreOpinion; + import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; @@ -14,6 +16,16 @@ public class S_SchoolFillScoreOpinion extends HttpServlet { String id = request.getParameter("id"); Map vMap = servlet.Utils.getVMap(vName,request); + C_SchoolFillScoreOpinion p=new C_SchoolFillScoreOpinion(); + p.setGraduationDesignId(id); + p.setVMap(vMap); + try { + p.fillInformation(); + } catch (Exception e) { + e.printStackTrace(); + response.sendRedirect("/op_fail.jsp"); + } + } static String[] vName = { "school_opinion", diff --git a/src/servlet/S_SecretaryFillOpeningReportRecord.java b/src/servlet/S_SecretaryFillOpeningReportRecord.java index 7a0ef0e..45d7fa5 100644 --- a/src/servlet/S_SecretaryFillOpeningReportRecord.java +++ b/src/servlet/S_SecretaryFillOpeningReportRecord.java @@ -1,5 +1,7 @@ package servlet; +import core.process.C_SecretaryFillOpeningReportRecord; + import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; @@ -14,6 +16,16 @@ public class S_SecretaryFillOpeningReportRecord extends HttpServlet { String id = request.getParameter("id"); Map vMap = servlet.Utils.getVMap(vName,request); + C_SecretaryFillOpeningReportRecord p=new C_SecretaryFillOpeningReportRecord(); + p.setGraduationDesignId(id); + p.setVMap(vMap); + try { + p.fillInformation(); + } catch (Exception e) { + e.printStackTrace(); + response.sendRedirect("/op_fail.jsp"); + } + } static String[] vName = { "secretary_record" diff --git a/src/servlet/S_SecretaryFillReplyRecord.java b/src/servlet/S_SecretaryFillReplyRecord.java index 91b72e0..bcd2ec5 100644 --- a/src/servlet/S_SecretaryFillReplyRecord.java +++ b/src/servlet/S_SecretaryFillReplyRecord.java @@ -1,5 +1,7 @@ package servlet; +import core.process.C_SecretaryFillReplyRecord; + import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; @@ -14,6 +16,15 @@ public class S_SecretaryFillReplyRecord extends HttpServlet { String id = request.getParameter("id"); Map vMap = servlet.Utils.getVMap(vName,request); + C_SecretaryFillReplyRecord p=new C_SecretaryFillReplyRecord(); + p.setGraduationDesignId(id); + p.setVMap(vMap); + try { + p.fillInformation(); + } catch (Exception e) { + e.printStackTrace(); + response.sendRedirect("/op_fail.jsp"); + } } static String[] vName = { "secretary_record" diff --git a/src/servlet/S_StudentFillGraduationDesignInformation.java b/src/servlet/S_StudentFillGraduationDesignInformation.java index 5c6d71f..b6f7ac5 100644 --- a/src/servlet/S_StudentFillGraduationDesignInformation.java +++ b/src/servlet/S_StudentFillGraduationDesignInformation.java @@ -1,5 +1,7 @@ package servlet; +import core.process.C_StudentFillGraduationDesignInformation; + import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; @@ -15,6 +17,16 @@ public class S_StudentFillGraduationDesignInformation extends HttpServlet { String id = request.getParameter("id"); Map vMap = servlet.Utils.getVMap(vName,request); + C_StudentFillGraduationDesignInformation p=new C_StudentFillGraduationDesignInformation(); + p.setGraduationDesignId(id); + p.setVMap(vMap); + try { + p.fillInformation(); + } catch (Exception e) { + e.printStackTrace(); + response.sendRedirect("/op_fail.jsp"); + } + } static String[] vName = { "chinese_name", diff --git a/src/servlet/S_TeacherTeamFillOpeningReportOpinion.java b/src/servlet/S_TeacherTeamFillOpeningReportOpinion.java index 16c5612..28a27b1 100644 --- a/src/servlet/S_TeacherTeamFillOpeningReportOpinion.java +++ b/src/servlet/S_TeacherTeamFillOpeningReportOpinion.java @@ -1,5 +1,7 @@ package servlet; +import core.process.C_TeacherTeamFillOpeningReportOpinion; + import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; @@ -14,6 +16,15 @@ public class S_TeacherTeamFillOpeningReportOpinion extends HttpServlet { String id = request.getParameter("id"); Map vMap = servlet.Utils.getVMap(vName,request); + C_TeacherTeamFillOpeningReportOpinion p=new C_TeacherTeamFillOpeningReportOpinion(); + p.setGraduationDesignId(id); + p.setVMap(vMap); + try { + p.fillInformation(); + } catch (Exception e) { + e.printStackTrace(); + response.sendRedirect("/op_fail.jsp"); + } } static String[] vName = { "report_teacher_team_opinion" diff --git a/src/servlet/S_TeacherTeamFillScoreOpinion.java b/src/servlet/S_TeacherTeamFillScoreOpinion.java index 63788d5..fbb5d4f 100644 --- a/src/servlet/S_TeacherTeamFillScoreOpinion.java +++ b/src/servlet/S_TeacherTeamFillScoreOpinion.java @@ -1,5 +1,7 @@ package servlet; +import core.process.C_TeacherTeamFillScoreOpinion; + import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; @@ -14,6 +16,15 @@ public class S_TeacherTeamFillScoreOpinion extends HttpServlet { String id = request.getParameter("id"); Map vMap = servlet.Utils.getVMap(vName,request); + C_TeacherTeamFillScoreOpinion p=new C_TeacherTeamFillScoreOpinion(); + p.setGraduationDesignId(id); + p.setVMap(vMap); + try { + p.fillInformation(); + } catch (Exception e) { + e.printStackTrace(); + response.sendRedirect("/op_fail.jsp"); + } } static String[] vName = { "teacher_team_opinion",