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;