Merge remote-tracking branch 'remotes/origin/wlf'

# Conflicts:
#	src/servlet/S_StudentUploadOpeningReport.java
wmj
wan 6 years ago
parent 9b3adc14d5
commit f5a8a777a3

@ -22,7 +22,7 @@ public class C_CollegeFillScoreOpinion extends TempProcess{
fillInformation.addOptions("table",table);
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-ddHH:mm:ss");
String date=df.format(new Date());
vMap.put("secretary_record_date",date);
vMap.put("college_opinion_date",date);
Map<String, String>limits = new HashMap<>();
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);

@ -10,16 +10,10 @@ import java.util.Map;
public class C_MentorFillReview extends TempProcess {
public String teacherID;
public String teacher_opinion;
public Map<String,String> vMap;
static String table="graduation_design_finished_product_mentor_score";
public String getTeacher_opinion() {
return teacher_opinion;
}
public void setTeacher_opinion(String teacher_opinion) {
this.teacher_opinion = teacher_opinion;
}
public String getTeacherID() {
return teacherID;
}
@ -32,7 +26,8 @@ public class C_MentorFillReview extends TempProcess {
public void setvMap(Map<String, String> vMap) {
this.vMap = vMap;
}
public void TeacherTeamFillOpeningReportOpinion() throws Exception{
public void teacherTeamFillOpeningReportOpinion() throws Exception{
if(!check()) throw new GExcptInit("MentorFillReview Attrs init error!");
FillInformation fillInformation=new FillInformation();
fillInformation.setOptions(new HashMap<>());
@ -46,10 +41,9 @@ public class C_MentorFillReview extends TempProcess {
fillInformation.execute(null);
}
@Override
protected boolean check() {
if(this.getTeacherID().equals(null)||this.getTeacher_opinion().equals(null)||this.getvMap().equals(null))
if(this.getTeacherID()==null)
return false;
else
return true;

Loading…
Cancel
Save