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,8 +42,8 @@ | ||
| 42 | </p> | 42 | </p> |
| 43 | </div> | 43 | </div> |
| 44 | <div class="head_box_r"> | 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 | <a href="#" onclick="tosearch();"><img | 47 | <a href="#" onclick="tosearch();"><img |
| 48 | src="../static/images/search.png" /></a> | 48 | src="../static/images/search.png" /></a> |
| 49 | </div> | 49 | </div> |
| @@ -205,5 +205,7 @@ | @@ -205,5 +205,7 @@ | ||
| 205 | }}); | 205 | }}); |
| 206 | window.top.remove.show(); | 206 | window.top.remove.show(); |
| 207 | } | 207 | } |
| 208 | + | ||
| 209 | + | ||
| 208 | </script> | 210 | </script> |
| 209 | </html> | 211 | </html> |
| 210 | \ No newline at end of file | 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,7 +84,7 @@ input[type="text"],select { | ||
| 84 | 84 | ||
| 85 | </head> | 85 | </head> |
| 86 | <body> | 86 | <body> |
| 87 | - <form action="../student/${msg }.do" name="Form" id="Form" | 87 | + <form action="student/${msg }.do" name="Form" id="Form" |
| 88 | method="post"> | 88 | method="post"> |
| 89 | <input type="hidden" name="ID" id="ID" value="${pd.ID}" /> <input | 89 | <input type="hidden" name="ID" id="ID" value="${pd.ID}" /> <input |
| 90 | type="hidden" name="CLASS_ID" id="CLASS_ID" value="${pd.CLASS_ID}" /> | 90 | type="hidden" name="CLASS_ID" id="CLASS_ID" value="${pd.CLASS_ID}" /> |
| @@ -131,7 +131,7 @@ input[type="text"],select { | @@ -131,7 +131,7 @@ input[type="text"],select { | ||
| 131 | </div> | 131 | </div> |
| 132 | <div id="zhongxin2" class="center" style="display:none"> | 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 | <h4 class="lighter block green">提交中...</h4> | 135 | <h4 class="lighter block green">提交中...</h4> |
| 136 | </div> | 136 | </div> |
| 137 | </form> | 137 | </form> |
resources/mybatis1/sunvote/StudentMapper.xml
| @@ -108,7 +108,7 @@ | @@ -108,7 +108,7 @@ | ||
| 108 | ) | 108 | ) |
| 109 | </if> | 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 | </select> | 112 | </select> |
| 113 | 113 | ||
| 114 | <!-- 列表 --> | 114 | <!-- 列表 --> |
| @@ -136,7 +136,7 @@ | @@ -136,7 +136,7 @@ | ||
| 136 | <if test="pd.CLASS_ID!= null and pd.CLASS_ID != ''"><!-- 关键词检索 --> | 136 | <if test="pd.CLASS_ID!= null and pd.CLASS_ID != ''"><!-- 关键词检索 --> |
| 137 | AND cr.SCLASS_ID = #{pd.CLASS_ID} | 137 | AND cr.SCLASS_ID = #{pd.CLASS_ID} |
| 138 | </if> | 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 | </select> | 140 | </select> |
| 141 | 141 | ||
| 142 | <!-- 列表(全部) --> | 142 | <!-- 列表(全部) --> |
| @@ -146,7 +146,7 @@ | @@ -146,7 +146,7 @@ | ||
| 146 | from | 146 | from |
| 147 | <include refid="tableName"></include> | 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 | </select> | 150 | </select> |
| 151 | 151 | ||
| 152 | <!-- 列表(全部) --> | 152 | <!-- 列表(全部) --> |
| @@ -173,7 +173,7 @@ | @@ -173,7 +173,7 @@ | ||
| 173 | <if test="CLASS_ID!= null and CLASS_ID != ''"><!-- 关键词检索 --> | 173 | <if test="CLASS_ID!= null and CLASS_ID != ''"><!-- 关键词检索 --> |
| 174 | AND cr.SCLASS_ID = #{CLASS_ID} | 174 | AND cr.SCLASS_ID = #{CLASS_ID} |
| 175 | </if> | 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 | </select> | 177 | </select> |
| 178 | <!-- 列表(全部) --> | 178 | <!-- 列表(全部) --> |
| 179 | <select id="listAllClassByTerm" parameterType="pd" resultType="pd"> | 179 | <select id="listAllClassByTerm" parameterType="pd" resultType="pd"> |
| @@ -200,7 +200,7 @@ | @@ -200,7 +200,7 @@ | ||
| 200 | <if test="pd.CLASS_ID!= null and pd.CLASS_ID != ''"><!-- 关键词检索 --> | 200 | <if test="pd.CLASS_ID!= null and pd.CLASS_ID != ''"><!-- 关键词检索 --> |
| 201 | AND cr.SCLASS_ID = #{pd.CLASS_ID} | 201 | AND cr.SCLASS_ID = #{pd.CLASS_ID} |
| 202 | </if> | 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 | </select> | 204 | </select> |
| 205 | 205 | ||
| 206 | <!-- 批量删除 --> | 206 | <!-- 批量删除 --> |
resources/mybatis1/sunvote/TestPaperInfoMapper.xml
| @@ -209,7 +209,7 @@ | @@ -209,7 +209,7 @@ | ||
| 209 | sv_testpaperinfo.STUDENT_ID = #{STUDENT_ID} | 209 | sv_testpaperinfo.STUDENT_ID = #{STUDENT_ID} |
| 210 | AND sv_testpaperinfo.TEST_ID = #{TEST_ID} | 210 | AND sv_testpaperinfo.TEST_ID = #{TEST_ID} |
| 211 | ORDER BY | 211 | ORDER BY |
| 212 | - sv_paperquestion.RANK | 212 | + (sv_paperquestion.RANK * 1) |
| 213 | </select> | 213 | </select> |
| 214 | 214 | ||
| 215 | 215 |