From c660b8c1cb287895595dc132168074cec1ce96af Mon Sep 17 00:00:00 2001 From: wan <2499498893@qq.com> Date: Tue, 15 Jan 2019 09:43:15 +0800 Subject: [PATCH] Merge remote-tracking branch 'remotes/origin/wlf' # Conflicts: # src/servlet/S_StudentUploadOpeningReport.java --- .../C_MentorFillOpeningReportOpinion.java | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/src/core/process/C_MentorFillOpeningReportOpinion.java b/src/core/process/C_MentorFillOpeningReportOpinion.java index 99bc66d..b8409d1 100644 --- a/src/core/process/C_MentorFillOpeningReportOpinion.java +++ b/src/core/process/C_MentorFillOpeningReportOpinion.java @@ -10,8 +10,7 @@ import java.util.Map; public class C_MentorFillOpeningReportOpinion extends TempProcess{ - String studentId; - String mentor_opinion; + String graduationDesignId; Map vMap; static String table="graduation_design_opening_report_opinion_record"; @@ -25,30 +24,26 @@ public class C_MentorFillOpeningReportOpinion extends TempProcess{ String date=df.format(new Date()); vMap.put("mentor_opinion_date",date); Maplimits = new HashMap<>(); - limits.put("id",this.getStudentId()); + limits.put("id",this.getGraduationDesignId()); fillInformation.addOptions("limits",limits); fillInformation.execute(null); } protected boolean check() { - if(this.getMentor_opinion()==null||this.getStudentId()==null) + if(this.getGraduationDesignId()==null) return false; return true; } - public String getStudentId() { - return studentId; + @Override + public String getGraduationDesignId() { + return graduationDesignId; } - public void setStudentId(String studentId) { - this.studentId = studentId; - } - public String getMentor_opinion() { - return mentor_opinion; + @Override + public void setGraduationDesignId(String graduationDesignId) { + this.graduationDesignId = graduationDesignId; } - public void setMentor_opinion(String mentor_opinion) { - this.mentor_opinion = mentor_opinion; - } public void setVMap(Map vMap) { this.vMap = vMap;