Commit f0689229885cfe90f3a0f6d1c10e655f28dd4488
1 parent
ffe4d02a
修改试卷日期不显示,编辑学生404,报表问题
Showing
4 changed files
with
12 additions
and
10 deletions
WebRoot/WEB-INF/jsp/sunvote/paper/paper_list2.jsp
... | ... | @@ -42,8 +42,8 @@ |
42 | 42 | </p> |
43 | 43 | </div> |
44 | 44 | <div class="head_box_r"> |
45 | - <input class="date-picker" type="text" value="" placeholder="开始日期" name="lastStart" id="lastStart" data-date-format="yyyy-mm-dd" readonly="readonly" /> | |
46 | - <input type="text" class="date-picker" value="" placeholder="结束日期" name="lastEnd" name="lastEnd" data-date-format="yyyy-mm-dd" readonly="readonly" /> | |
45 | + <input class="date-picker" type="text" placeholder="开始日期" name="lastStart" id="lastStart" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.LASTSTART }"/> | |
46 | + <input type="text" class="date-picker" placeholder="结束日期" name="lastEnd" name="lastEnd" data-date-format="yyyy-mm-dd" readonly="readonly" value="${pd.LASTEND}"/> | |
47 | 47 | <a href="#" onclick="tosearch();"><img |
48 | 48 | src="../static/images/search.png" /></a> |
49 | 49 | </div> |
... | ... | @@ -205,5 +205,7 @@ |
205 | 205 | }}); |
206 | 206 | window.top.remove.show(); |
207 | 207 | } |
208 | + | |
209 | + | |
208 | 210 | </script> |
209 | 211 | </html> |
210 | 212 | \ No newline at end of file | ... | ... |
WebRoot/WEB-INF/jsp/sunvote/student/student_edit2.jsp
... | ... | @@ -84,7 +84,7 @@ input[type="text"],select { |
84 | 84 | |
85 | 85 | </head> |
86 | 86 | <body> |
87 | - <form action="../student/${msg }.do" name="Form" id="Form" | |
87 | + <form action="student/${msg }.do" name="Form" id="Form" | |
88 | 88 | method="post"> |
89 | 89 | <input type="hidden" name="ID" id="ID" value="${pd.ID}" /> <input |
90 | 90 | type="hidden" name="CLASS_ID" id="CLASS_ID" value="${pd.CLASS_ID}" /> |
... | ... | @@ -131,7 +131,7 @@ input[type="text"],select { |
131 | 131 | </div> |
132 | 132 | <div id="zhongxin2" class="center" style="display:none"> |
133 | 133 | |
134 | - <img src="../static/images/jiazai.gif" /><br /> | |
134 | + <img src="static/images/jiazai.gif" /><br /> | |
135 | 135 | <h4 class="lighter block green">提交中...</h4> |
136 | 136 | </div> |
137 | 137 | </form> | ... | ... |
resources/mybatis1/sunvote/StudentMapper.xml
... | ... | @@ -108,7 +108,7 @@ |
108 | 108 | ) |
109 | 109 | </if> |
110 | 110 | |
111 | - order by sv_student.SNO | |
111 | + order by (sv_student.NUMBER ) * 1,(sv_student.KEYPAD_ID * 1),(sv_student.SNO*1) | |
112 | 112 | </select> |
113 | 113 | |
114 | 114 | <!-- 列表 --> |
... | ... | @@ -136,7 +136,7 @@ |
136 | 136 | <if test="pd.CLASS_ID!= null and pd.CLASS_ID != ''"><!-- 关键词检索 --> |
137 | 137 | AND cr.SCLASS_ID = #{pd.CLASS_ID} |
138 | 138 | </if> |
139 | - order by sv_student.SNO | |
139 | + order by (sv_student.NUMBER ) * 1,(sv_student.KEYPAD_ID * 1),(sv_student.SNO*1) | |
140 | 140 | </select> |
141 | 141 | |
142 | 142 | <!-- 列表(全部) --> |
... | ... | @@ -146,7 +146,7 @@ |
146 | 146 | from |
147 | 147 | <include refid="tableName"></include> |
148 | 148 | |
149 | - order by sv_student.SNO | |
149 | + order by (sv_student.NUMBER ) * 1,(sv_student.KEYPAD_ID * 1),(sv_student.SNO*1) | |
150 | 150 | </select> |
151 | 151 | |
152 | 152 | <!-- 列表(全部) --> |
... | ... | @@ -173,7 +173,7 @@ |
173 | 173 | <if test="CLASS_ID!= null and CLASS_ID != ''"><!-- 关键词检索 --> |
174 | 174 | AND cr.SCLASS_ID = #{CLASS_ID} |
175 | 175 | </if> |
176 | - order by sv_student.SNO | |
176 | + order by (sv_student.NUMBER ) * 1,(sv_student.KEYPAD_ID * 1),(sv_student.SNO*1) | |
177 | 177 | </select> |
178 | 178 | <!-- 列表(全部) --> |
179 | 179 | <select id="listAllClassByTerm" parameterType="pd" resultType="pd"> |
... | ... | @@ -200,7 +200,7 @@ |
200 | 200 | <if test="pd.CLASS_ID!= null and pd.CLASS_ID != ''"><!-- 关键词检索 --> |
201 | 201 | AND cr.SCLASS_ID = #{pd.CLASS_ID} |
202 | 202 | </if> |
203 | - order by sv_student.SNO | |
203 | + order by (sv_student.NUMBER ) * 1,(sv_student.KEYPAD_ID * 1),(sv_student.SNO*1) | |
204 | 204 | </select> |
205 | 205 | |
206 | 206 | <!-- 批量删除 --> | ... | ... |
resources/mybatis1/sunvote/TestPaperInfoMapper.xml