修改完的process

wmj
wan 6 years ago
parent e91f928854
commit e7ff9864bb

@ -6,10 +6,12 @@
<element id="directory" name="WEB-INF"> <element id="directory" name="WEB-INF">
<element id="directory" name="classes"> <element id="directory" name="classes">
<element id="module-output" name="GDMS" /> <element id="module-output" name="GDMS" />
<element id="dir-copy" path="C:/Program Files/Apache Software Foundation/Tomcat 8.5" />
</element> </element>
<element id="directory" name="lib"> <element id="directory" name="lib">
<element id="library" level="project" name="lib" /> <element id="library" level="project" name="lib" />
<element id="library" level="project" name="tomcat-lib" /> <element id="extracted-dir" path="C:/Program Files/Apache Software Foundation/Tomcat 8.5/lib/tomcat-jdbc.jar" path-in-jar="/" />
<element id="file-copy" path="C:/Program Files/Apache Software Foundation/Tomcat 8.5/lib/tomcat-jdbc.jar" />
</element> </element>
</element> </element>
</root> </root>

@ -9,18 +9,40 @@
<webroots> <webroots>
<root url="file://$MODULE_DIR$/web" relative="/" /> <root url="file://$MODULE_DIR$/web" relative="/" />
</webroots> </webroots>
<sourceRoots>
<root url="file://$MODULE_DIR$/src" />
</sourceRoots>
</configuration> </configuration>
</facet> </facet>
</component> </component>
<component name="NewModuleRootManager" inherit-compiler-output="true"> <component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output /> <exclude-output />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" scope="PROVIDED" name="lib" level="project" /> <orderEntry type="library" exported="" scope="PROVIDED" name="lib" level="project" />
<orderEntry type="library" exported="" scope="PROVIDED" name="tomcat-lib" level="project" />
<orderEntry type="module-library" exported="" scope="PROVIDED">
<library>
<CLASSES>
<root url="file://C:/Program Files/Apache Software Foundation/Tomcat 8.5" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://C:/Program Files/Apache Software Foundation/Tomcat 8.5/webapps/docs/appdev/sample/src" />
<root url="file://C:/Program Files/Apache Software Foundation/Tomcat 8.5/work/Catalina/localhost/ROOT" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="library" exported="" scope="PROVIDED" name="Tomcat 8.5.37" level="application_server_libraries" /> <orderEntry type="library" exported="" scope="PROVIDED" name="Tomcat 8.5.37" level="application_server_libraries" />
<orderEntry type="library" scope="PROVIDED" name="tomcat-lib" level="project" /> <orderEntry type="module-library" exported="">
<library>
<CLASSES>
<root url="jar://C:/Program Files/Apache Software Foundation/Tomcat 8.5/lib/tomcat-jdbc.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component> </component>
</module> </module>

@ -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;
} }

@ -10,28 +10,10 @@ import java.util.Map;
//评阅老师评阅 //评阅老师评阅
public class C_ReviewerFillReview extends TempProcess { public class C_ReviewerFillReview extends TempProcess {
public String graduationDesignId; public String graduationDesignId;
public String teacher_opinion;
public Map<String,String> vMap; public Map<String,String> vMap;
static String table="graduation_design_finished_product_reviewer_score"; static String table="graduation_design_finished_product_reviewer_score";
public String getTeacher_opinion() {
return teacher_opinion;
}
public void setTeacher_opinion(String teacher_opinion) {
this.teacher_opinion = teacher_opinion;
}
public String getGraduationDesignId() {
return graduationDesignId;
}
public void setGraduationDesignId(String teacherID) {
this.graduationDesignId = graduationDesignId;
}
public Map<String, String> getVMap() {
return vMap;
}
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("ReviewerFillReview Attrs init error!"); if(!check()) throw new GExcptInit("ReviewerFillReview Attrs init error!");
FillInformation fillInformation=new FillInformation(); FillInformation fillInformation=new FillInformation();
@ -46,14 +28,25 @@ public class C_ReviewerFillReview extends TempProcess {
fillInformation.execute(null); fillInformation.execute(null);
} }
@Override @Override
protected boolean check() { protected boolean check() {
if(this.getGraduationDesignId()==null||this.getTeacher_opinion()==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 teacherID) {
this.graduationDesignId = graduationDesignId;
}
public Map<String, String> getVMap() {
return vMap;
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}
} }

Loading…
Cancel
Save