Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfzx-website
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
丁伟
sfzx-website
Commits
781e000a
Commit
781e000a
authored
Jan 15, 2025
by
丁伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、更新常见问题首页显示排序。
parent
c95eef97
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/main/java/org/ccpit/business/questionsManage/QuestionService.java
+1
-1
src/main/sql/update.sql
+2
-2
src/main/webapp/WEB-INF/jsp/front/home-page.jsp
+1
-1
No files found.
src/main/java/org/ccpit/business/questionsManage/QuestionService.java
View file @
781e000a
...
...
@@ -73,7 +73,7 @@ public class QuestionService {
}
public
List
<
Question
>
queryQuestionList
(){
List
<
Question
>
questionList
=
questionDao
.
query
All
(
);
List
<
Question
>
questionList
=
questionDao
.
query
(
"from Question q ORDER BY q.createTime DESC"
);
return
questionList
;
}
...
...
src/main/sql/update.sql
View file @
781e000a
update
sfzx_servicenetwork
set
tel
=
'0551-62999713'
,
webSiteAddress
=
'https://www.ccpit-ah.org.cn'
where
id
=
54
;
\ No newline at end of file
update
sfzx_servicenetwork
set
tel
=
'0571-85811960'
,
contacts
=
'凌莉'
where
id
=
61
;
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/front/home-page.jsp
View file @
781e000a
...
...
@@ -236,7 +236,7 @@ text-decoration:none;
<c:forEach
items=
"${questionList}"
var=
"question"
begin=
"0"
end=
"9"
>
<li><span
class=
"secondRow_div_content_content"
><a
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>
</ul>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment