# Conflicts: # .idea/artifacts/GDMS_war_exploded.xmlhechu1
commit
9433c8ad1a
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
|
||||||
|
</project>
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_10" default="true" project-jdk-name="10" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="false" project-jdk-name="11" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -0,0 +1,61 @@
|
|||||||
|
package core.process;
|
||||||
|
|
||||||
|
import core.operation.FillInformation;
|
||||||
|
import error.GExcptInit;
|
||||||
|
|
||||||
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
//评阅老师评阅
|
||||||
|
public class C_ReviewerFillReview extends TempProcess {
|
||||||
|
public String graduationDesignId;
|
||||||
|
public Map<String,String> vMap;
|
||||||
|
private static String buttonName ="评阅老师评阅";
|
||||||
|
static String table="graduation_design_finished_product_reviewer_score";
|
||||||
|
|
||||||
|
public void TeacherTeamFillOpeningReportOpinion() throws Exception{
|
||||||
|
if(!check()) throw new GExcptInit("ReviewerFillReview Attrs init error!");
|
||||||
|
FillInformation fillInformation=new FillInformation();
|
||||||
|
fillInformation.setOptions(new HashMap<>());
|
||||||
|
fillInformation.addOptions("table",table);
|
||||||
|
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-ddHH:mm:ss");
|
||||||
|
String date=df.format(new Date());
|
||||||
|
vMap.put("reviewer_score_date",date);
|
||||||
|
Map<String, String>limits = new HashMap<>();
|
||||||
|
limits.put("id",this.getGraduationDesignId());
|
||||||
|
fillInformation.addOptions("limits",limits);
|
||||||
|
fillInformation.execute(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean check() {
|
||||||
|
if(this.getGraduationDesignId()==null||this.getVMap()==null)
|
||||||
|
return false;
|
||||||
|
else
|
||||||
|
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…
Reference in new issue