|
|
|
@ -10,8 +10,7 @@ import java.util.Map;
|
|
|
|
|
|
|
|
|
|
public class C_MentorFillOpeningReportOpinion extends TempProcess{
|
|
|
|
|
|
|
|
|
|
String studentId;
|
|
|
|
|
String mentor_opinion;
|
|
|
|
|
String graduationDesignId;
|
|
|
|
|
Map<String,String> 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);
|
|
|
|
|
Map<String, String>limits = 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<String, String> vMap) {
|
|
|
|
|
this.vMap = vMap;
|
|
|
|
|