Merge remote-tracking branch 'remotes/origin/master' into hechu1

hechu1
何楚 6 years ago
commit 215bc20326

@ -1,16 +1,16 @@
<component name="ArtifactManager">
<artifact type="exploded-war" name="GDMS:war exploded">
<output-path>$PROJECT_DIR$/out/artifacts/GDMS_war_exploded</output-path>
<artifact type="exploded-war" name="gdms:war exploded">
<output-path>$PROJECT_DIR$/out/artifacts/gdms_war_exploded</output-path>
<root id="root">
<element id="javaee-facet-resources" facet="gdms/web/Web" />
<element id="directory" name="WEB-INF">
<element id="directory" name="classes">
<element id="module-output" name="GDMS" />
<element id="module-output" name="gdms" />
</element>
<element id="directory" name="lib">
<element id="file-copy" path="C:/Program Files/Apache Software Foundation/Tomcat 9.0/lib/tomcat-jdbc.jar" />
</element>
</element>
<element id="javaee-facet-resources" facet="GDMS/web/Web" />
</root>
</artifact>
</component>

@ -1,17 +0,0 @@
<component name="ArtifactManager">
<artifact type="exploded-war" name="gdms:Web exploded">
<output-path>$PROJECT_DIR$/out/artifacts/gdms_Web_exploded</output-path>
<root id="root">
<element id="javaee-facet-resources" facet="GDMS/web/Web" />
<element id="directory" name="WEB-INF">
<element id="directory" name="classes">
<element id="module-output" name="gdms" />
</element>
<element id="directory" name="lib">
<element id="file-copy" path="C:/Program Files/Apache Software Foundation/Tomcat 8.5/lib/tomcat-jdbc.jar" />
<element id="library" level="project" name="lib" />
</element>
</element>
</root>
</artifact>
</component>

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="gdms@localhost" uuid="9ab10673-d584-44a7-a783-8ac833d52c51">
<driver-ref>mariadb</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mariadb://localhost:3306/gdms</jdbc-url>
<driver-properties>
<property name="autoReconnect" value="true" />
<property name="zeroDateTimeBehavior" value="convertToNull" />
<property name="tinyInt1isBit" value="false" />
<property name="characterEncoding" value="utf8" />
<property name="characterSetResults" value="utf8" />
<property name="yearIsDateType" value="false" />
</driver-properties>
</data-source>
</component>
</project>

@ -1,22 +0,0 @@
com.intellij.database.serialization.ImportException: RDBMS is not specified int the model file
at com.intellij.database.serialization.ModelImporter.deserializeModel(ModelImporter.java:57)
at com.intellij.database.serialization.ModelSerializerKt.deserialize(ModelSerializer.kt:37)
at com.intellij.database.serialization.ModelSerializerKt.deserialize(ModelSerializer.kt:27)
at com.intellij.database.dataSource.DataSourceStorage.readModel(DataSourceStorage.java:683)
at com.intellij.database.dataSource.DataSourceStorage.readModel(DataSourceStorage.java:671)
at com.intellij.database.dataSource.DataSourceStorage.loadModels(DataSourceStorage.java:488)
at com.intellij.database.dataSource.DataSourceStorage.access$000(DataSourceStorage.java:90)
at com.intellij.database.dataSource.DataSourceStorage$2.run(DataSourceStorage.java:398)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:736)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:395)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

File diff suppressed because it is too large Load Diff

@ -1,7 +1,7 @@
<component name="ProjectDictionaryState">
<dictionary name="zhai_">
<words>
<w>mariadb</w>
<w>gdms</w>
</words>
</dictionary>
</component>

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8">
<file url="file://$PROJECT_DIR$/web/jsFile/login.js" charset="UTF-8" />
<file url="PROJECT" charset="UTF-8" />
</component>
</project>

@ -1,10 +0,0 @@
<component name="libraryTable">
<library name="lib">
<CLASSES>
<root url="file://$PROJECT_DIR$/web/WEB-INF/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$PROJECT_DIR$/web/WEB-INF/lib" recursive="false" />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="mariadb-java-client-2.3.0">
<CLASSES>
<root url="jar://$PROJECT_DIR$/deployment/mariadb-java-client-2.3.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES5" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_10" default="false" project-jdk-name="11" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

@ -2,7 +2,7 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/GDMS.iml" filepath="$PROJECT_DIR$/GDMS.iml" />
<module fileurl="file://$PROJECT_DIR$/gdms.iml" filepath="$PROJECT_DIR$/gdms.iml" />
</modules>
</component>
</project>

@ -2,5 +2,6 @@
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

@ -19,6 +19,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="PROVIDED" name="Tomcat 9.0.14" level="application_server_libraries" />
<orderEntry type="module-library">
<library>
<CLASSES>
@ -28,7 +29,6 @@
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" scope="PROVIDED" name="Tomcat 9" level="application_server_libraries" />
<orderEntry type="library" name="com.hynnet:json-lib:2.4" level="project" />
<orderEntry type="library" scope="PROVIDED" name="com.hynnet:json-lib:2.4" level="project" />
</component>
</module>

@ -1,23 +1,25 @@
package core.process;
import core.operation.FillInformation;
import dao.DBManagement;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import org.apache.commons.lang.ObjectUtils;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.*;
public class C_CollegeFillOpeningReportOpinion extends C_FillInformation{
String graduationDesignId;
Map<String,String> vMap;
protected static String buttonName ="学院开题意见";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/college-fill-opening-report-opinion";
protected static String info = "";
private static String buttonName ="学院开题意见";
private static String iconURL="../cssFile/images/fill.png";
private static String targetURL="/home/college-fill-opening-report-opinion";
private static String info = "";
static String table="graduation_design_opening_report_opinion_record";
private static String table="graduation_design_opening_report_opinion_record";
private static String fileds="opening_report_college_opinion_status";
public void fillInformation() throws Exception {
if(!check()) throw new GExcptInit("FillInformation Attrs init error!");
@ -30,6 +32,7 @@ public class C_CollegeFillOpeningReportOpinion extends C_FillInformation{
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
protected boolean check() {
if(this.getGraduationDesignId()==null||this.getVMap()==null)
@ -44,6 +47,11 @@ public class C_CollegeFillOpeningReportOpinion extends C_FillInformation{
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table,fileds);
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}
@ -70,4 +78,11 @@ public class C_CollegeFillOpeningReportOpinion extends C_FillInformation{
public String getButtonName() {
return buttonName;
}
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("college_opinion");
ls.add(null);
return ls;
}
}

@ -1,23 +1,25 @@
package core.process;
import core.operation.FillInformation;
import dao.DBManagement;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.*;
public class C_CollegeFillScoreOpinion extends C_FillInformation{
String graduationDesignId;
Map<String,String> vMap;
protected static String buttonName ="学院老师评分";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/college-fill-score-opinion";
static String table="graduation_design_reply_opinion_record_score";
protected static String info = "";
private static String buttonName ="学院老师评分";
private static String iconURL="../cssFile/images/fill.png";
private static String targetURL="/home/college-fill-score-opinion";
private static String info = "";
private static String table="graduation_design_reply_opinion_record_score";
private static String fileds="reply_college_score_status";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs Init error!");
@ -30,6 +32,7 @@ public class C_CollegeFillScoreOpinion extends C_FillInformation{
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
protected boolean check() {
@ -64,4 +67,17 @@ public class C_CollegeFillScoreOpinion extends C_FillInformation{
public String getButtonName() {
return buttonName;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table,fileds);
}
@Override
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("college_opinion");
ls.add("college_score");
return ls;
}
}

@ -1,7 +1,10 @@
package core.process;
import java.util.List;
public abstract class C_FillInformation extends TempProcess {
public String getJspURL(){
return "/home/fill_Information.jsp";
}
public abstract List<String> getInputName();
}

@ -2,9 +2,11 @@ package core.process;
import core.operation.FillInformation;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
@ -13,12 +15,13 @@ public class C_MentorFillOpeningReportOpinion extends C_FillInformation{
String graduationDesignId;
Map<String,String> vMap;
protected static String buttonName ="导师开题意见";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/mentor-fill-opening-report-opinion";
protected static String info = "";
private static String buttonName ="导师开题意见";
private static String iconURL="../cssFile/images/fill.png";
private static String targetURL="/home/mentor-fill-opening-report-opinion";
private static String info = "";
static String table="graduation_design_opening_report_opinion_record";
private static String table="graduation_design_opening_report_opinion_record";
private static String field ="opening_report_mentor_opinion_status";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs init error!");
@ -31,6 +34,7 @@ public class C_MentorFillOpeningReportOpinion extends C_FillInformation{
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
protected boolean check() {
@ -48,6 +52,11 @@ public class C_MentorFillOpeningReportOpinion extends C_FillInformation{
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}
@ -74,4 +83,11 @@ public class C_MentorFillOpeningReportOpinion extends C_FillInformation{
public String getButtonName() {
return buttonName;
}
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("mentor_opinion");
ls.add(null);
return ls;
}
}

@ -2,23 +2,26 @@ package core.process;
import core.operation.FillInformation;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.text.SimpleDateFormat;
import java.util.*;
public class C_MentorFillReview extends C_FillInformation {
public String graduationDesignId;
public Map<String,String> vMap;
protected static String buttonName ="指导老师评阅";
protected static String targetURL="/home/mentor-fill-review";
protected static String iconURL="../cssFile/images/fill.png";
protected static String info = "";
private static String buttonName ="指导老师评阅";
private static String targetURL="/home/mentor-fill-review";
private static String iconURL="../cssFile/images/fill.png";
private static String info = "";
static String table="graduation_design_finished_product_mentor_score";
private static String table="graduation_design_finished_product_mentor_score";
private static String field ="finished_product_mentor_score_status";
public void teacherTeamFillOpeningReportOpinion() throws Exception{
if(!check()) throw new GExcptInit("MentorFillReview Attrs init error!");
@ -31,6 +34,7 @@ public class C_MentorFillReview extends C_FillInformation {
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
@Override
@ -47,6 +51,12 @@ public class C_MentorFillReview extends C_FillInformation {
public void setGraduationDesignId(String graduationDesignId) {
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}
@ -73,5 +83,12 @@ public class C_MentorFillReview extends C_FillInformation {
public String getButtonName() {
return buttonName;
}
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("review_opinion");
ls.add("total_grade");
return ls;
}
}

@ -2,22 +2,21 @@ package core.process;
import core.operation.FillInformation;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.*;
//评阅老师评阅
public class C_ReviewerFillReview extends C_FillInformation {
public String graduationDesignId;
public Map<String,String> vMap;
protected static String buttonName ="评阅老师评阅";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/reviewer-fill-review";
protected static String info = "";
private static String buttonName ="评阅老师评阅";
private static String iconURL="../cssFile/images/fill.png";
private static String targetURL="/home/reviewer-fill-review";
private static String info = "";
static String table="graduation_design_finished_product_reviewer_score";
private static String table="graduation_design_finished_product_reviewer_score";
private static String field ="finished_product_reviewer_score_status";
public void TeacherTeamFillOpeningReportOpinion() throws Exception{
if(!check()) throw new GExcptInit("ReviewerFillReview Attrs init error!");
@ -30,6 +29,7 @@ public class C_ReviewerFillReview extends C_FillInformation {
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
@Override
@ -45,6 +45,12 @@ public class C_ReviewerFillReview extends C_FillInformation {
public void setGraduationDesignId(String teacherID) {
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
public Map<String, String> getVMap() {
return vMap;
}
@ -70,6 +76,13 @@ public class C_ReviewerFillReview extends C_FillInformation {
public String getButtonName() {
return buttonName;
}
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("opinion");
ls.add("score");
return ls;
}
}

@ -2,23 +2,23 @@ package core.process;
import core.operation.FillInformation;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.*;
public class C_SchoolFillScoreOpinion extends C_FillInformation {
String graduationDesignId;
Map<String,String> vMap;
protected static String buttonName ="学院老师评分";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/school-fill-score-opinion";
protected static String info = "";
private static String buttonName ="学院老师评分";
private static String iconURL="../cssFile/images/fill.png";
private static String targetURL="/home/school-fill-score-opinion";
private static String info = "";
private static String table="graduation_design_reply_opinion_record_score";
private static String field ="reply_school_score_status";
static String table="graduation_design_reply_opinion_record_score";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs init error!");
FillInformation fillInformation=new FillInformation();
@ -30,6 +30,7 @@ public class C_SchoolFillScoreOpinion extends C_FillInformation {
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
protected boolean check() {
if(this.getGraduationDesignId()==null||this.getVMap()==null)
@ -45,6 +46,12 @@ public class C_SchoolFillScoreOpinion extends C_FillInformation {
public void setGraduationDesignId(String graduationDesignId) {
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}
@ -72,6 +79,13 @@ public class C_SchoolFillScoreOpinion extends C_FillInformation {
public String getButtonName() {
return buttonName;
}
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("school_opinion");
ls.add("school_score");
return ls;
}
}

@ -2,23 +2,22 @@ package core.process;
import core.operation.FillInformation;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.*;
public class C_SecretaryFillOpeningReportRecord extends C_FillInformation{
String graduationDesignId;
Map<String,String> vMap;
protected static String buttonName ="提交开题纪要";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/secretary-fill-opening-report-record";
protected static String info = "";
private static String buttonName ="提交开题纪要";
private static String iconURL="../cssFile/images/fill.png";
private static String targetURL="/home/secretary-fill-opening-report-record";
private static String info = "";
static String table="graduation_design_opening_report_opinion_record";
private static String table="graduation_design_opening_report_opinion_record";
private static String field ="opening_report_secretary_record_status";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs init error!");
@ -31,6 +30,7 @@ public class C_SecretaryFillOpeningReportRecord extends C_FillInformation{
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
protected boolean check() {
if(this.getGraduationDesignId()==null||this.getVMap()==null)
@ -47,6 +47,11 @@ public class C_SecretaryFillOpeningReportRecord extends C_FillInformation{
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}
@ -73,4 +78,11 @@ public class C_SecretaryFillOpeningReportRecord extends C_FillInformation{
public String getButtonName() {
return buttonName;
}
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("secretary_record");
ls.add(null);
return ls;
}
}

@ -2,23 +2,22 @@ package core.process;
import core.operation.FillInformation;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.*;
public class C_SecretaryFillReplyRecord extends C_FillInformation{
String graduationDesignId;
Map<String,String> vMap;
protected static String buttonName ="提交答辩记录";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/secretary-fill-reply-record";
protected static String info = "";
private static String buttonName ="提交答辩记录";
private static String iconURL="../cssFile/images/fill.png";
private static String targetURL="/home/secretary-fill-reply-record";
private static String info = "";
static String table="graduation_design_reply_opinion_record_score";
private static String table="graduation_design_reply_opinion_record_score";
private static String field ="reply_secretary_record_status";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs Init error!");
@ -31,6 +30,7 @@ public class C_SecretaryFillReplyRecord extends C_FillInformation{
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
protected boolean check() {
@ -46,6 +46,11 @@ public class C_SecretaryFillReplyRecord extends C_FillInformation{
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}
@ -74,4 +79,11 @@ public class C_SecretaryFillReplyRecord extends C_FillInformation{
public String getButtonName() {
return buttonName;
}
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("secretary_record");
ls.add(null);
return ls;
}
}

@ -2,21 +2,21 @@ package core.process;
import core.operation.FillInformation;
import error.GExcptInit;
import error.GExcptSQL;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
public class C_StudentFillGraduationDesignInformation extends C_FillSbjMsg {
String graduationDesignId;
Map<String,String> vMap;
protected static String buttonName ="填写选题信息";
protected static String iconURL="../cssFile/images/filText.png";
protected static String targetURL="/home/student-fill-graduation-design-information";
protected static String info = "";
private static String buttonName ="填写选题信息";
private static String iconURL="../cssFile/images/filText.png";
private static String targetURL="/home/student-fill-graduation-design-information";
private static String info = "";
static String table="graduation_design_opening_report_opinion_record";
private static String table="graduation_design_information";
private static String field ="student_fill_graduation_design_information_status";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs init error!");
@ -27,6 +27,7 @@ public class C_StudentFillGraduationDesignInformation extends C_FillSbjMsg {
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
protected boolean check() {
if(this.getGraduationDesignId()==null||this.getVMap()==null)
@ -43,6 +44,11 @@ public class C_StudentFillGraduationDesignInformation extends C_FillSbjMsg {
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}

@ -3,6 +3,7 @@ package core.process;
import core.operation.Search;
import core.operation.Select;
import error.GExcptInit;
import error.GExcptSQL;
import java.util.ArrayList;
import java.util.HashMap;
@ -12,10 +13,14 @@ import java.util.Map;
public class C_StudentSelectTeacher extends C_Select {
String studentId;
String teacherId;
protected String buttonName ="选择老师";
protected static String targetURL="/home/student-select-teacher";
protected static String iconURL="../cssFile/images/select.png";
protected static String info = "";
private static String buttonName ="选择老师";
private static String targetURL="/home/student-select-teacher";
private static String iconURL="../cssFile/images/select.png";
private static String info = "";
private static String table="graduation_design";
private static String field ="student_choose_teacher_status";
public void select()throws Exception{
if(!check()) throw new GExcptInit("ID Attrs init error!");
@ -24,6 +29,7 @@ public class C_StudentSelectTeacher extends C_Select {
select.addOptions("student_id",this.getStudentId());
select.addOptions("teacher_id",this.getTeacherId());
Map<String,Object> options=select.execute(null);
updateStatus();
}
public List<Map<String,String>> search(String teacherId) throws Exception{
Search search = new Search() ;
@ -85,4 +91,8 @@ public class C_StudentSelectTeacher extends C_Select {
return buttonName;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(this.getGraduationDesignId(),table, field);
}
}

@ -2,44 +2,48 @@ package core.process;
import core.operation.UploadFile;
import error.GExcptInit;
import error.GExcptSQL;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
public class C_StudentUploadFinishedProduct extends C_UploadFile {
File finishedProduct;
String finishedProductURL;
String graduationDesignId;
protected static String buttonName ="提交定稿";
protected static String iconURL="../cssFile/images/upload.png";
protected static String targetURL="/home/student-upload-finished-product";
protected static String info = "";
private static String buttonName ="提交定稿";
private static String iconURL="../cssFile/images/upload.png";
private static String targetURL="/home/student-upload-finished-product";
private static String info = "";
private static String table="graduation_design_finished_product";
private static String field ="finished_product_status";
static String file_type = "finished_product";
public void uploadOpeningReport() throws Exception{
public void uploadFinishedProduct() throws Exception{
if(!check()) throw new GExcptInit("Upload FinishedProduct Attrs init error!");
UploadFile uploadFile=new UploadFile();
uploadFile.setOptions(new HashMap<>());
uploadFile.addOptions("file",this.getFinishedProduct());
uploadFile.addOptions("file_url",this.getFinishedProductURL());
uploadFile.addOptions("file_type",file_type);
Map<String, String>limits = new HashMap<>();
limits.put("id",this.getGraduationDesignId());
uploadFile.addOptions("limits",limits);
uploadFile.execute(null);
updateStatus();
}
protected boolean check() {
if(this.getFinishedProduct()==null||this.getGraduationDesignId()==null)
if(this.getFinishedProductURL()==null||this.getGraduationDesignId()==null)
return false;
return true;
}
public File getFinishedProduct() {
return finishedProduct;
public String getFinishedProductURL() {
return finishedProductURL;
}
public void setFinishedProduct(File finishedProduct) {
this.finishedProduct = finishedProduct;
public void setFinishedProductURL(String finishedProductURL) {
this.finishedProductURL = finishedProductURL;
}
public String getGraduationDesignId() {
return graduationDesignId;
@ -49,6 +53,11 @@ public class C_StudentUploadFinishedProduct extends C_UploadFile {
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
@Override
public String getInfo() {
return info;

@ -2,25 +2,29 @@ package core.process;
import core.operation.UploadFile;
import error.GExcptInit;
import error.GExcptSQL;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
public class C_StudentUploadOpeningReport extends C_UploadFile{
File openingReport;
String openingReportURL;
String graduationDesignId;
protected static String buttonName ="提交开题报告";
static String file_type = "opening_report";
protected static String targetURL="/home/student-upload-opening-report";
protected static String iconURL="../cssFile/images/upload.png";
protected static String info = "";
private static String buttonName ="提交开题报告";
private static String file_type = "opening_report";
private static String targetURL="/home/student-upload-opening-report";
private static String iconURL="../cssFile/images/upload.png";
private static String info = "";
private static String table="graduation_design_opening_report";
private static String field ="opening_report_status";
public void uploadOpeningReport() throws Exception{
if(!check()) throw new GExcptInit("Upload OpeningReport Attrs init error!");
UploadFile uploadFileOperation=new UploadFile();
uploadFileOperation.setOptions(new HashMap<>());
uploadFileOperation.addOptions("file",this.getOpeningReport());
uploadFileOperation.addOptions("file_url",this.getOpeningReportURL());
uploadFileOperation.addOptions("file_type",file_type);
Map<String, String>limits = new HashMap<>();
limits.put("id",this.getGraduationDesignId());
@ -30,17 +34,17 @@ public class C_StudentUploadOpeningReport extends C_UploadFile{
}
protected boolean check() {
if(this.getGraduationDesignId()==null||this.getOpeningReport()==null)
if(this.getGraduationDesignId()==null||this.getOpeningReportURL()==null)
return false;
return true;
}
public File getOpeningReport() {
return openingReport;
public String getOpeningReportURL() {
return openingReportURL;
}
public void setOpeningReport(File openingReport) {
this.openingReport = openingReport;
public void setOpeningReportURL(String openingReportURL) {
this.openingReportURL = openingReportURL;
}
public String getGraduationDesignId() {
@ -51,6 +55,11 @@ public class C_StudentUploadOpeningReport extends C_UploadFile{
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
@Override
public String getInfo() {
return info;

@ -3,6 +3,7 @@ package core.process;
import core.operation.Search;
import core.operation.Select;
import error.GExcptInit;
import error.GExcptSQL;
import java.util.ArrayList;
import java.util.HashMap;
@ -12,10 +13,13 @@ import java.util.Map;
public class C_TeacherSelectStudent extends C_Select {
String studentId;
String teacherId;
protected static String buttonName ="选择学生";
protected static String iconURL="../cssFile/images/select.png";
protected static String targetURL="/home/teacher-select-student";
protected static String info = "";
private static String buttonName ="选择学生";
private static String iconURL="../cssFile/images/select.png";
private static String targetURL="/home/teacher-select-student";
private static String info = "";
private static String table="graduation_design";
private static String field ="teacher_choose_student_status";
public void select()throws Exception{
if(!check()) throw new GExcptInit("ID Attrs init error!");
@ -24,6 +28,7 @@ public class C_TeacherSelectStudent extends C_Select {
select.addOptions("teacher_id",this.getTeacherId());
select.addOptions("student_id",this.getStudentId());
Map<String,Object> options=select.execute(null);
updateStatus();
}
public List<Map<String,String>> search(String studentId) throws Exception{
Search search = new Search() ;
@ -84,4 +89,8 @@ public class C_TeacherSelectStudent extends C_Select {
return buttonName;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(this.getGraduationDesignId(),table, field);
}
}

@ -2,23 +2,22 @@ package core.process;
import core.operation.FillInformation;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.*;
public class C_TeacherTeamFillOpeningReportOpinion extends C_FillInformation{
String graduationDesignId;
Map<String,String> vMap;
protected static String buttonName ="开题小组意见";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/teacher-team-fill-opening-report-opinion";
protected static String info = "";
private static String buttonName ="开题小组意见";
private static String iconURL="../cssFile/images/fill.png";
private static String targetURL="/home/teacher-team-fill-opening-report-opinion";
private static String info = "";
static String table="graduation_design_opening_report_opinion_record";
private static String field ="opening_report_teacher_team_opinion_status";
private static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs init error!");
@ -31,6 +30,7 @@ public class C_TeacherTeamFillOpeningReportOpinion extends C_FillInformation{
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
protected boolean check() {
if(this.getGraduationDesignId()==null||this.getVMap()==null)
@ -47,6 +47,11 @@ public class C_TeacherTeamFillOpeningReportOpinion extends C_FillInformation{
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}
@ -75,4 +80,11 @@ public class C_TeacherTeamFillOpeningReportOpinion extends C_FillInformation{
return buttonName;
}
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("report_teacher_team_opinion");
ls.add(null);
return ls;
}
}

@ -2,23 +2,24 @@ package core.process;
import core.operation.FillInformation;
import error.GExcptInit;
import error.GExcptSQL;
import gdms.Configuration;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.*;
public class C_TeacherTeamFillScoreOpinion extends C_FillInformation {
protected static String buttonName = "答辩小组评分";
protected static String iconURL="../cssFile/images/fill.png";
protected static String targetURL="/home/teacher-team-fill-score-opinion";
protected static String info = "";
String graduationDesignId;
Map<String,String> vMap;
static String table="graduation_design_reply_opinion_record_score";
private static String buttonName = "答辩小组评分";
private static String iconURL="../cssFile/images/fill.png";
private static String targetURL="/home/teacher-team-fill-score-opinion";
private static String info = "";
private static String table="graduation_design_reply_opinion_record_score";
private static String field ="reply_teacher_team_score_status";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs init error!");
@ -31,6 +32,7 @@ public class C_TeacherTeamFillScoreOpinion extends C_FillInformation {
limits.put("id",this.getGraduationDesignId());
fillInformation.addOptions("limits",limits);
fillInformation.execute(null);
updateStatus();
}
protected boolean check() {
if(this.getGraduationDesignId()==null||this.getVMap()==null)
@ -67,10 +69,23 @@ public class C_TeacherTeamFillScoreOpinion extends C_FillInformation {
public void setGraduationDesignId(String graduationDesignId) {
this.graduationDesignId = graduationDesignId;
}
@Override
public void updateStatus() throws GExcptSQL {
core.process.Utils.updateStatus(graduationDesignId,table, field);
}
public void setVMap(Map<String, String> vMap) {
this.vMap = vMap;
}
public Map<String, String> getVMap() {
return vMap;
}
public List<String> getInputName() {
List<String> ls = new ArrayList<>();
ls.add("teacher_team_opinion");
ls.add("teacher_team_score");
return ls;
}
}

@ -1,11 +1,13 @@
package core.process;
import error.GExcptSQL;
public abstract class TempProcess extends Process {
private static String process;
private static String nextProcess;
private String graduationDesignId;
private static String table;
private static String fileds;
protected String graduationDesignId;
protected static String table;
protected static String field;
public String getGraduationDesignId() {
return graduationDesignId;
@ -31,7 +33,5 @@ public abstract class TempProcess extends Process {
TempProcess.nextProcess = nextProcess;
}
public static void updateStatus(){
;
}
public abstract void updateStatus() throws GExcptSQL;
}

@ -1,5 +1,8 @@
package core.process;
import dao.DBManagement;
import error.GExcptSQL;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -15,4 +18,10 @@ public interface Utils {
studentsInfo.add(studentInfo);
}
}
static void updateStatus(String id, String table, String field) throws GExcptSQL {
Map<String,String> limits = new HashMap<>();
limits.put("id",id);
DBManagement.updateStatus(table,field,"2",limits);
}
}

@ -1,4 +1,4 @@
package core.user.utils;
package core.user;
import core.user.Student;
import core.user.User;
@ -68,7 +68,7 @@ public interface AccountManagement {
user.initCondition();
return user;
}
String defaultStatus = "1";
String defaultStatus = "0";
static void initAllStatus(String id) throws GExcptSQL {
for(String table:DBManagement.graduationDesignTables){
Map<String,String> vMap = new HashMap<>();

@ -4,7 +4,6 @@ import core.process.Condition;
import core.process.ProcessManagement;
import core.user.userFun.AccountManageable;
import core.user.userFun.ProcessConfigurable;
import core.user.utils.AccountManagement;
import java.util.List;
import java.util.Map;
@ -94,11 +93,11 @@ public abstract class User implements AccountManageable, ProcessConfigurable{
public abstract String getType();
public void destroy(){
core.user.utils.AccountManagement.destroy(this);
AccountManagement.destroy(this);
}
public void logout(){
core.user.utils.AccountManagement.logout(this);
AccountManagement.logout(this);
}
@Override

@ -171,6 +171,11 @@ public class DBManagement {
String sql = update.getSQL();
update(sql);
}
public static void updateStatus(String table, String field, String increment, Map<String,String> limits) throws GExcptSQL {
UpdateStatus us = new UpdateStatus(table,field,increment,limits);
String sql = us.getSQL();
update(sql);
}
public static void updateAll(String table, List<String> fields, String increment) throws GExcptSQL {
UpdateAll updateAll = new UpdateAll(table,fields,increment);
String sql = updateAll.getSQL();

@ -0,0 +1,58 @@
package dao;
import java.util.Map;
public class UpdateStatus extends SQLStmt {
static String fs = "UPDATE ";
String field;
String increment;
Map<String,String> limits;
public UpdateStatus(String table, String field, String increment, Map<String, String> limits) {
super(table);
this.setField(field);
this.setIncrement(increment);
this.setLimits(limits);
}
@Override
public String getSQL() {
return getFs()+getUs()+getLs();
}
@Override
public String getFs() {
return fs+this.getTable()+" ";
}
private String getLs(){
return dao.Utils.whereAnd(this.getLimits());
}
public String getUs(){
String us = "SET ";
us+=this.getField()+" = "+this.getField()+" + "+this.getIncrement()+" ";
return us;
}
public String getField() {
return field;
}
public void setField(String field) {
this.field = field;
}
public String getIncrement() {
return increment;
}
public void setIncrement(String increment) {
this.increment = increment;
}
public Map<String, String> getLimits() {
return limits;
}
public void setLimits(Map<String, String> limits) {
this.limits = limits;
}
}

@ -4,7 +4,7 @@ import java.text.SimpleDateFormat;
public interface Configuration {
//file
String filePath = "C:/Users/zhai_/Desktop/";
String filePath = "C:/Users/zhai_/Desktop/gdms/";
//database
String dbUrl="jdbc:mariadb://localhost:3306/gdms";
String dbUsername="gdms";

@ -13,13 +13,14 @@ import java.util.*;
public class GDMS {
static Map<String, Date> schedules;
static String schedulePath = "";
static String scheduleName = "GlobalTimePoint.json";
public static void init() throws GExcptInit, GExcptFormat {
initSchedule();
Timer timer = new Timer(true);
for(Map.Entry<String, Date> schedule:schedules.entrySet()){
timer.schedule(getTimerTask(schedule.getKey()),schedule.getValue());
}
System.out.println("GDMS init finished");
}
@ -29,6 +30,7 @@ public class GDMS {
return new TimerTask() {
@Override
public void run() {
System.out.println("teacher_choose_student start!");
List<String> fields = new ArrayList<>();
fields.add("teacher_choose_student_status");
try {
@ -43,6 +45,7 @@ public class GDMS {
return new TimerTask() {
@Override
public void run() {
System.out.println("teacher_choose_student start!");
List<String> fields = new ArrayList<>();
fields.add("student_choose_teacher_status");
try {
@ -57,6 +60,7 @@ public class GDMS {
return new TimerTask() {
@Override
public void run() {
System.out.println("choose_topic finished!");
List<String> fields = new ArrayList<>();
fields.add("student_choose_teacher_status");
fields.add("teacher_choose_student_status");
@ -99,6 +103,7 @@ public class GDMS {
return new TimerTask() {
@Override
public void run() {
System.out.println("opening_report_submit finished");
List<String> fields = new ArrayList<>();
fields.add("opening_report_mentor_opinion_status");
fields.add("opening_report_teacher_team_opinion_status");
@ -124,6 +129,7 @@ public class GDMS {
return new TimerTask() {
@Override
public void run() {
System.out.println("finished_product_submit finished!");
List<String> fields = new ArrayList<>();
fields.add("finished_product_status");
try {
@ -154,6 +160,7 @@ public class GDMS {
return new TimerTask() {
@Override
public void run() {
System.out.println("finished_product_review_submit finished!");
List<String> fields = new ArrayList<>();
fields.add("finished_product_mentor_score_status");
try {
@ -188,6 +195,7 @@ public class GDMS {
return new TimerTask() {
@Override
public void run() {
System.out.println("reply_opinion_submit finished!");
List<String> fields = new ArrayList<>();
fields.add("reply_mentor_score_status");
fields.add("reply_teacher_team_score_status");
@ -210,7 +218,7 @@ public class GDMS {
schedules = new HashMap<>();
String sets= null;
try {
sets = Utils.readFile(schedulePath);
sets = Utils.readFile(Configuration.filePath+scheduleName);
} catch (GExcptFileIO gExcptFileIO) {
gExcptFileIO.printStackTrace();
}

@ -1,9 +0,0 @@
{
"teacher_choose_student_start_date":"2018-12-23 00:00:00",
"student_choose_teacher_start_date": "",
"choose_end_date": "",
"opening_report_opinion_deadline_date": "",
"finished_product_deadline_date": "",
"finished_product_review_deadline_date": "",
"reply_opinion_deadline_date": ""
}

@ -5,6 +5,10 @@ import core.process.C_StudentSelectTeacher;
import dao.DBManagement;
import dao.Select;
import dao.UpdateAll;
import dao.UpdateStatus;
import error.GExcptFormat;
import error.GExcptInit;
import error.GExcptSQL;
import java.util.ArrayList;
import java.util.HashMap;
@ -13,12 +17,14 @@ import java.util.Map;
public class test {
public static void main(String[] args){
List<String> ls = new ArrayList<>();
ls.add("teacher_choose_student_status");
ls.add("student_choose_teacher_status");
UpdateAll s = new UpdateAll("graduation_design",ls,"10");
System.out.println(s.getSQL());
try {
new C_StudentSelectTeacher().updateStatus();
} catch (GExcptSQL gExcptSQL) {
gExcptSQL.printStackTrace();
}
Map<String,String> limits = new HashMap<>();
limits.put("id","100");
UpdateStatus us = new UpdateStatus("table","field","1",limits);
System.out.println(us.getSQL());
}
}

@ -1,8 +1,9 @@
package init;
import core.user.utils.AccountManagement;
import dao.DBManagement;
import error.GExcptSQL;
import error.GExcptFormat;
import error.GExcptInit;
import gdms.GDMS;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
@ -13,16 +14,22 @@ import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
@WebServlet(name = "Init")
public class Init extends HttpServlet {
static boolean ifInit = false;
public void init(){
if(ifInit) return;
System.out.println("init start");
DBManagement.init();
try {
GDMS.init();
} catch (GExcptInit gExcptInit) {
gExcptInit.printStackTrace();
System.exit(1);
} catch (GExcptFormat gExcptFormat) {
gExcptFormat.printStackTrace();
System.exit(1);
}
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
ifInit = true;
System.out.println("init finished");
}
}

@ -1,5 +1,7 @@
package servlet;
import core.process.C_StudentUploadFinishedProduct;
import javax.servlet.ServletException;
import javax.servlet.annotation.MultipartConfig;
import javax.servlet.annotation.WebServlet;
@ -14,7 +16,7 @@ public class S_StudentUploadFinishedProduct extends HttpServlet {
static String fileType = "graduation_design_finished_product";
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");
String fileURL;
String fileURL = null;
try {
fileURL = servlet.Utils.saveFile(request, fileType);
}catch (Exception e)
@ -22,5 +24,14 @@ public class S_StudentUploadFinishedProduct extends HttpServlet {
System.out.print(e);
response.sendRedirect("/op_fail.jsp");
}
C_StudentUploadFinishedProduct p =new C_StudentUploadFinishedProduct();
p.setFinishedProductURL(fileURL);
p.setGraduationDesignId(id);
try {
p.uploadFinishedProduct();
} catch (Exception e) {
e.printStackTrace();
response.sendRedirect("/op_fail.jsp");
}
}
}

@ -1,6 +1,6 @@
package servlet;
import core.user.User;
import core.process.C_StudentUploadOpeningReport;
import javax.servlet.ServletException;
import javax.servlet.annotation.MultipartConfig;
@ -8,9 +8,7 @@ import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.Part;
import java.io.IOException;
import java.util.UUID;
@WebServlet("/home/student-upload-opening-report")
@MultipartConfig
@ -18,6 +16,22 @@ public class S_StudentUploadOpeningReport extends HttpServlet {
static String fileType = "graduation_design_opening_report";
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");
//String fileURL = servlet.Utils.saveFile(request, fileType);
String fileURL = null;
try {
fileURL = servlet.Utils.saveFile(request, fileType);
}catch (Exception e)
{
System.out.print(e);
response.sendRedirect("/op_fail.jsp");
}
C_StudentUploadOpeningReport p =new C_StudentUploadOpeningReport();
p.setOpeningReportURL(fileURL);
p.setGraduationDesignId(id);
try {
p.uploadOpeningReport();
} catch (Exception e) {
e.printStackTrace();
response.sendRedirect("/op_fail.jsp");
}
}
}

@ -3,15 +3,13 @@ package servlet.account;
import java.io.IOException;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import core.user.Student;
import core.user.User;
import core.user.utils.AccountManagement;
import core.user.AccountManagement;
import error.GExcptAccount;
import error.GExcptSQL;

@ -1,7 +1,7 @@
package servlet.account;
import core.user.User;
import core.user.utils.AccountManagement;
import core.user.AccountManagement;
import error.GExcptAccount;
import error.GExcptSQL;
import javax.servlet.ServletException;

Binary file not shown.

Binary file not shown.

@ -1,16 +0,0 @@
<%--
Created by IntelliJ IDEA.
User: zhai_
Date: 2019/1/15
Time: 16:43
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>$Title$</title>
</head>
<body>
$END$
</body>
</html>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
</web-app>
Loading…
Cancel
Save