diff --git a/src/core/process/C_CollegeFillOpeningReportOpinion.java b/src/core/process/C_CollegeFillOpeningReportOpinion.java index a8537cc..de81abf 100644 --- a/src/core/process/C_CollegeFillOpeningReportOpinion.java +++ b/src/core/process/C_CollegeFillOpeningReportOpinion.java @@ -5,11 +5,10 @@ import dao.DBManagement; import error.GExcptInit; import error.GExcptSQL; import gdms.Configuration; +import org.apache.commons.lang.ObjectUtils; import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.HashMap; -import java.util.Map; +import java.util.*; public class C_CollegeFillOpeningReportOpinion extends C_FillInformation{ String graduationDesignId; @@ -79,4 +78,11 @@ public class C_CollegeFillOpeningReportOpinion extends C_FillInformation{ public String getButtonName() { return buttonName; } + + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("college_opinion"); + ls.add(null); + return ls; + } } diff --git a/src/core/process/C_CollegeFillScoreOpinion.java b/src/core/process/C_CollegeFillScoreOpinion.java index 72ff548..8dba3ab 100644 --- a/src/core/process/C_CollegeFillScoreOpinion.java +++ b/src/core/process/C_CollegeFillScoreOpinion.java @@ -7,9 +7,7 @@ import error.GExcptSQL; import gdms.Configuration; import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.HashMap; -import java.util.Map; +import java.util.*; public class C_CollegeFillScoreOpinion extends C_FillInformation{ @@ -74,4 +72,12 @@ public class C_CollegeFillScoreOpinion extends C_FillInformation{ public void updateStatus() throws GExcptSQL { core.process.Utils.updateStatus(graduationDesignId,table,fileds); } + + @Override + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("college_opinion"); + ls.add("college_score"); + return ls; + } } diff --git a/src/core/process/C_FillInformation.java b/src/core/process/C_FillInformation.java index ee91fdb..edc4a8b 100644 --- a/src/core/process/C_FillInformation.java +++ b/src/core/process/C_FillInformation.java @@ -1,7 +1,10 @@ package core.process; +import java.util.List; + public abstract class C_FillInformation extends TempProcess { public String getJspURL(){ return "/home/fill_Information.jsp"; } + public abstract List getInputName(); } diff --git a/src/core/process/C_MentorFillOpeningReportOpinion.java b/src/core/process/C_MentorFillOpeningReportOpinion.java index 74c637e..054cc43 100644 --- a/src/core/process/C_MentorFillOpeningReportOpinion.java +++ b/src/core/process/C_MentorFillOpeningReportOpinion.java @@ -5,6 +5,8 @@ import error.GExcptInit; import error.GExcptSQL; import gdms.Configuration; +import java.text.SimpleDateFormat; +import java.util.*; import java.util.Date; import java.util.HashMap; import java.util.Map; @@ -81,4 +83,11 @@ public class C_MentorFillOpeningReportOpinion extends C_FillInformation{ public String getButtonName() { return buttonName; } + + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("mentor_opinion"); + ls.add(null); + return ls; + } } diff --git a/src/core/process/C_MentorFillReview.java b/src/core/process/C_MentorFillReview.java index 7ff1591..7a942e4 100644 --- a/src/core/process/C_MentorFillReview.java +++ b/src/core/process/C_MentorFillReview.java @@ -8,6 +8,8 @@ import gdms.Configuration; import java.util.Date; import java.util.HashMap; import java.util.Map; +import java.text.SimpleDateFormat; +import java.util.*; public class C_MentorFillReview extends C_FillInformation { @@ -81,5 +83,12 @@ public class C_MentorFillReview extends C_FillInformation { public String getButtonName() { return buttonName; } + + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("review_opinion"); + ls.add("total_grade"); + return ls; + } } diff --git a/src/core/process/C_ReviewerFillReview.java b/src/core/process/C_ReviewerFillReview.java index 0b116c0..27ee1bb 100644 --- a/src/core/process/C_ReviewerFillReview.java +++ b/src/core/process/C_ReviewerFillReview.java @@ -5,9 +5,7 @@ import error.GExcptInit; import error.GExcptSQL; import gdms.Configuration; -import java.util.Date; -import java.util.HashMap; -import java.util.Map; +import java.util.*; //评阅老师评阅 public class C_ReviewerFillReview extends C_FillInformation { public String graduationDesignId; @@ -78,6 +76,13 @@ public class C_ReviewerFillReview extends C_FillInformation { public String getButtonName() { return buttonName; } + + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("opinion"); + ls.add("score"); + return ls; + } } diff --git a/src/core/process/C_SchoolFillScoreOpinion.java b/src/core/process/C_SchoolFillScoreOpinion.java index e1d9530..8538384 100644 --- a/src/core/process/C_SchoolFillScoreOpinion.java +++ b/src/core/process/C_SchoolFillScoreOpinion.java @@ -5,9 +5,7 @@ import error.GExcptInit; import error.GExcptSQL; import gdms.Configuration; -import java.util.Date; -import java.util.HashMap; -import java.util.Map; +import java.util.*; public class C_SchoolFillScoreOpinion extends C_FillInformation { @@ -81,6 +79,13 @@ public class C_SchoolFillScoreOpinion extends C_FillInformation { public String getButtonName() { return buttonName; } + + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("school_opinion"); + ls.add("school_score"); + return ls; + } } diff --git a/src/core/process/C_SecretaryFillOpeningReportRecord.java b/src/core/process/C_SecretaryFillOpeningReportRecord.java index 1d809eb..e6a5b36 100644 --- a/src/core/process/C_SecretaryFillOpeningReportRecord.java +++ b/src/core/process/C_SecretaryFillOpeningReportRecord.java @@ -5,9 +5,7 @@ import error.GExcptInit; import error.GExcptSQL; import gdms.Configuration; -import java.util.Date; -import java.util.HashMap; -import java.util.Map; +import java.util.*; public class C_SecretaryFillOpeningReportRecord extends C_FillInformation{ @@ -80,4 +78,11 @@ public class C_SecretaryFillOpeningReportRecord extends C_FillInformation{ public String getButtonName() { return buttonName; } + + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("secretary_record"); + ls.add(null); + return ls; + } } diff --git a/src/core/process/C_SecretaryFillReplyRecord.java b/src/core/process/C_SecretaryFillReplyRecord.java index 554ea9b..c96f875 100644 --- a/src/core/process/C_SecretaryFillReplyRecord.java +++ b/src/core/process/C_SecretaryFillReplyRecord.java @@ -5,9 +5,7 @@ import error.GExcptInit; import error.GExcptSQL; import gdms.Configuration; -import java.util.Date; -import java.util.HashMap; -import java.util.Map; +import java.util.*; public class C_SecretaryFillReplyRecord extends C_FillInformation{ @@ -81,4 +79,11 @@ public class C_SecretaryFillReplyRecord extends C_FillInformation{ public String getButtonName() { return buttonName; } + + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("secretary_record"); + ls.add(null); + return ls; + } } diff --git a/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java b/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java index e37d246..0de5e71 100644 --- a/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java +++ b/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java @@ -5,9 +5,7 @@ import error.GExcptInit; import error.GExcptSQL; import gdms.Configuration; -import java.util.Date; -import java.util.HashMap; -import java.util.Map; +import java.util.*; public class C_TeacherTeamFillOpeningReportOpinion extends C_FillInformation{ @@ -82,4 +80,11 @@ public class C_TeacherTeamFillOpeningReportOpinion extends C_FillInformation{ return buttonName; } + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("report_teacher_team_opinion"); + ls.add(null); + return ls; + } + } diff --git a/src/core/process/C_TeacherTeamFillScoreOpinion.java b/src/core/process/C_TeacherTeamFillScoreOpinion.java index ed8aacb..fbfdceb 100644 --- a/src/core/process/C_TeacherTeamFillScoreOpinion.java +++ b/src/core/process/C_TeacherTeamFillScoreOpinion.java @@ -5,9 +5,7 @@ import error.GExcptInit; import error.GExcptSQL; import gdms.Configuration; -import java.util.Date; -import java.util.HashMap; -import java.util.Map; +import java.util.*; public class C_TeacherTeamFillScoreOpinion extends C_FillInformation { @@ -83,4 +81,11 @@ public class C_TeacherTeamFillScoreOpinion extends C_FillInformation { public Map getVMap() { return vMap; } + + public List getInputName() { + List ls = new ArrayList<>(); + ls.add("teacher_team_opinion"); + ls.add("teacher_team_score"); + return ls; + } }