From 60ab426c64eff9265bcf0b1ba45bfa87159c5ac3 Mon Sep 17 00:00:00 2001 From: wan <2499498893@qq.com> Date: Wed, 16 Jan 2019 15:19:21 +0800 Subject: [PATCH] process --- .../process/C_CollegeFillOpeningReportOpinion.java | 12 +++++++++--- src/core/process/C_CollegeFillScoreOpinion.java | 12 +++++++++--- src/core/process/C_FillInformation.java | 3 +++ .../process/C_MentorFillOpeningReportOpinion.java | 11 ++++++++--- src/core/process/C_MentorFillReview.java | 11 ++++++++--- src/core/process/C_ReviewerFillReview.java | 12 +++++++++--- src/core/process/C_SchoolFillScoreOpinion.java | 11 ++++++++--- .../process/C_SecretaryFillOpeningReportRecord.java | 11 ++++++++--- src/core/process/C_SecretaryFillReplyRecord.java | 11 ++++++++--- .../C_TeacherTeamFillOpeningReportOpinion.java | 11 ++++++++--- src/core/process/C_TeacherTeamFillScoreOpinion.java | 11 ++++++++--- 11 files changed, 86 insertions(+), 30 deletions(-) diff --git a/src/core/process/C_CollegeFillOpeningReportOpinion.java b/src/core/process/C_CollegeFillOpeningReportOpinion.java index d95d4f4..9fe1eb7 100644 --- a/src/core/process/C_CollegeFillOpeningReportOpinion.java +++ b/src/core/process/C_CollegeFillOpeningReportOpinion.java @@ -3,11 +3,10 @@ package core.process; import core.operation.FillInformation; import error.GExcptInit; 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; @@ -72,4 +71,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 e811a92..380064a 100644 --- a/src/core/process/C_CollegeFillScoreOpinion.java +++ b/src/core/process/C_CollegeFillScoreOpinion.java @@ -5,9 +5,7 @@ import error.GExcptInit; 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{ @@ -67,4 +65,12 @@ public class C_CollegeFillScoreOpinion extends C_FillInformation{ public String getButtonName() { return buttonName; } + + @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 d5cf98e..778e352 100644 --- a/src/core/process/C_MentorFillOpeningReportOpinion.java +++ b/src/core/process/C_MentorFillOpeningReportOpinion.java @@ -5,9 +5,7 @@ import error.GExcptInit; 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_MentorFillOpeningReportOpinion extends C_FillInformation{ @@ -76,4 +74,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 752f96a..2af338b 100644 --- a/src/core/process/C_MentorFillReview.java +++ b/src/core/process/C_MentorFillReview.java @@ -5,9 +5,7 @@ import error.GExcptInit; 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_MentorFillReview extends C_FillInformation { @@ -75,5 +73,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 dd75d57..26b182c 100644 --- a/src/core/process/C_ReviewerFillReview.java +++ b/src/core/process/C_ReviewerFillReview.java @@ -5,9 +5,8 @@ import error.GExcptInit; 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_ReviewerFillReview extends C_FillInformation { public String graduationDesignId; @@ -72,6 +71,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 7f4c976..2b93e8e 100644 --- a/src/core/process/C_SchoolFillScoreOpinion.java +++ b/src/core/process/C_SchoolFillScoreOpinion.java @@ -5,9 +5,7 @@ import error.GExcptInit; 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_SchoolFillScoreOpinion extends C_FillInformation { @@ -75,6 +73,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 ef9c7c7..04ee76e 100644 --- a/src/core/process/C_SecretaryFillOpeningReportRecord.java +++ b/src/core/process/C_SecretaryFillOpeningReportRecord.java @@ -5,9 +5,7 @@ import error.GExcptInit; 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_SecretaryFillOpeningReportRecord extends C_FillInformation{ @@ -75,4 +73,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 1bfd910..4caef10 100644 --- a/src/core/process/C_SecretaryFillReplyRecord.java +++ b/src/core/process/C_SecretaryFillReplyRecord.java @@ -5,9 +5,7 @@ import error.GExcptInit; 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_SecretaryFillReplyRecord extends C_FillInformation{ @@ -76,4 +74,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 23e85f4..defb85c 100644 --- a/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java +++ b/src/core/process/C_TeacherTeamFillOpeningReportOpinion.java @@ -5,9 +5,7 @@ import error.GExcptInit; 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_TeacherTeamFillOpeningReportOpinion extends C_FillInformation{ @@ -77,4 +75,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 7969326..fcf4052 100644 --- a/src/core/process/C_TeacherTeamFillScoreOpinion.java +++ b/src/core/process/C_TeacherTeamFillScoreOpinion.java @@ -5,9 +5,7 @@ import error.GExcptInit; 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_TeacherTeamFillScoreOpinion extends C_FillInformation { @@ -77,4 +75,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; + } }