Commit 781e000a by 丁伟

1、更新常见问题首页显示排序。

parent c95eef97
...@@ -73,7 +73,7 @@ public class QuestionService { ...@@ -73,7 +73,7 @@ public class QuestionService {
} }
public List<Question> queryQuestionList(){ public List<Question> queryQuestionList(){
List<Question> questionList = questionDao.queryAll(); List<Question> questionList = questionDao.query("from Question q ORDER BY q.createTime DESC");
return questionList; return questionList;
} }
......
update sfzx_servicenetwork set tel = '0551-62999713',webSiteAddress='https://www.ccpit-ah.org.cn' where id= 54; update sfzx_servicenetwork set tel = '0571-85811960',contacts = '凌莉' where id = 61;
\ No newline at end of file \ No newline at end of file
...@@ -236,7 +236,7 @@ text-decoration:none; ...@@ -236,7 +236,7 @@ text-decoration:none;
<c:forEach items="${questionList}" var="question" begin="0" end="9"> <c:forEach items="${questionList}" var="question" begin="0" end="9">
<li><span class="secondRow_div_content_content"><a <li><span class="secondRow_div_content_content"><a
href="/front/aboutQuestionContent/${question.id }" href="/front/aboutQuestionContent/${question.id }"
title="${question.title }" target="_blank">${fn:substring(question.title, 0, 40) }</a></span></li> title="${question.title }" target="_blank">${fn:substring(question.title, 0, 36) }</a></span></li>
</c:forEach> </c:forEach>
</ul> </ul>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment