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

# Conflicts:
#	src/gdms/GDMS.java
hechu1
何楚 6 years ago
parent d580b21f4c
commit 139d16b702

@ -8,7 +8,7 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
public class C_StudentSearchTeacher extends TempProcess{ public class C_StudentSearchTeacher{
String teacherID; String teacherID;
protected static String buttonName = ""; protected static String buttonName = "";
@ -71,22 +71,22 @@ public class C_StudentSearchTeacher extends TempProcess{
public void setTeacherID(String teacherID){ public void setTeacherID(String teacherID){
this.teacherID=teacherID; this.teacherID=teacherID;
} }
@Override
public String getInfo() { public String getInfo() {
return info; return info;
} }
@Override
public String getTargetURL() { public String getTargetURL() {
return targetURL; return targetURL;
} }
@Override
public String getIconURL() { public String getIconURL() {
return iconURL; return iconURL;
} }
@Override
public String getButtonName() { public String getButtonName() {
return buttonName; return buttonName;
} }

@ -8,7 +8,7 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
public class C_TeacherSearchStudent extends TempProcess { public class C_TeacherSearchStudent {
String studentId; String studentId;
protected static String buttonName = ""; protected static String buttonName = "";
@ -71,22 +71,21 @@ public class C_TeacherSearchStudent extends TempProcess {
this.studentId=studentId; this.studentId=studentId;
} }
@Override
public String getInfo() { public String getInfo() {
return info; return info;
} }
@Override
public String getTargetURL() { public String getTargetURL() {
return targetURL; return targetURL;
} }
@Override
public String getIconURL() { public String getIconURL() {
return iconURL; return iconURL;
} }
@Override
public String getButtonName() { public String getButtonName() {
return buttonName; return buttonName;
} }

@ -9,6 +9,8 @@ public abstract class Process{
private String permission; private String permission;
private Operation operation; private Operation operation;
public abstract String getJspURL();
protected abstract boolean check(); protected abstract boolean check();
public String getPermission() { public String getPermission() {

@ -2,7 +2,8 @@
<%@ page import="java.util.ArrayList" %> <%@ page import="java.util.ArrayList" %>
<%@ page import="core.user.User" %> <%@ page import="core.user.User" %>
<%@ page import="core.process.Condition" %> <%@ page import="core.process.Condition" %>
<%@ page import="core.process.Process" %><%-- <%@ page import="core.process.Process" %>
<%@ page import="core.process.C_FillInformation" %><%--
Created by IntelliJ IDEA. Created by IntelliJ IDEA.
User: lenovo User: lenovo
Date: 2019/1/9 Date: 2019/1/9
@ -92,7 +93,7 @@
</div> </div>
<c:forEach items="${list}"> <c:forEach items="${list}">
<div class="a-process"> <div class="a-process">
<a href="<!%=condition.get(num).getJspURL()%>?<%=index++%>" class="link-point"> <a href="<%=condition.get(num).getJspURL()%>?<%=index++%>" class="link-point">
<div class="a-process-decoration"> <div class="a-process-decoration">
<img src=<%=condition.get(num).getIconURL()%>> <img src=<%=condition.get(num).getIconURL()%>>
</div> </div>

Loading…
Cancel
Save