|
|
@ -9,19 +9,12 @@ import java.util.HashMap;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
public class C_MentorFillReview extends TempProcess {
|
|
|
|
public class C_MentorFillReview extends TempProcess {
|
|
|
|
public String teacherID;
|
|
|
|
|
|
|
|
|
|
|
|
public String graduationDesignId;
|
|
|
|
public Map<String,String> vMap;
|
|
|
|
public Map<String,String> vMap;
|
|
|
|
|
|
|
|
|
|
|
|
static String table="graduation_design_finished_product_mentor_score";
|
|
|
|
static String table="graduation_design_finished_product_mentor_score";
|
|
|
|
|
|
|
|
|
|
|
|
public String getTeacherID() {
|
|
|
|
|
|
|
|
return teacherID;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTeacherID(String teacherID) {
|
|
|
|
|
|
|
|
this.teacherID = teacherID;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void teacherTeamFillOpeningReportOpinion() throws Exception{
|
|
|
|
public void teacherTeamFillOpeningReportOpinion() throws Exception{
|
|
|
|
if(!check()) throw new GExcptInit("MentorFillReview Attrs init error!");
|
|
|
|
if(!check()) throw new GExcptInit("MentorFillReview Attrs init error!");
|
|
|
@ -32,18 +25,25 @@ public class C_MentorFillReview extends TempProcess {
|
|
|
|
String date=df.format(new Date());
|
|
|
|
String date=df.format(new Date());
|
|
|
|
vMap.put("review_opinion_date",date);
|
|
|
|
vMap.put("review_opinion_date",date);
|
|
|
|
Map<String, String>limits = new HashMap<>();
|
|
|
|
Map<String, String>limits = new HashMap<>();
|
|
|
|
limits.put("id",this.getTeacherID());
|
|
|
|
limits.put("id",this.getGraduationDesignId());
|
|
|
|
fillInformation.addOptions("limits",limits);
|
|
|
|
fillInformation.addOptions("limits",limits);
|
|
|
|
fillInformation.execute(null);
|
|
|
|
fillInformation.execute(null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected boolean check() {
|
|
|
|
protected boolean check() {
|
|
|
|
if(this.getTeacherID()==null||this.getVMap()==null)
|
|
|
|
if(this.getGraduationDesignId()==null||this.getVMap()==null)
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
else
|
|
|
|
else
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getGraduationDesignId() {
|
|
|
|
|
|
|
|
return graduationDesignId;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setGraduationDesignId(String graduationDesignId) {
|
|
|
|
|
|
|
|
this.graduationDesignId = graduationDesignId;
|
|
|
|
|
|
|
|
}
|
|
|
|
public void setVMap(Map<String, String> vMap) {
|
|
|
|
public void setVMap(Map<String, String> vMap) {
|
|
|
|
this.vMap = vMap;
|
|
|
|
this.vMap = vMap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|