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
33b44ce1
Commit
33b44ce1
authored
Jul 19, 2023
by
丁伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、原产地证官网增加链博会宣传内容
parent
ff336420
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
27 additions
and
9 deletions
+27
-9
src/main/java/org/ccpit/base/user/UserController.java
+1
-0
src/main/java/org/ccpit/front/IndexController.java
+16
-2
src/main/sql/update.sql
+2
-4
src/main/webapp/WEB-INF/jsp/front/header.jsp
+1
-0
src/main/webapp/WEB-INF/jsp/front/home-page.jsp
+4
-0
src/main/webapp/WEB-INF/jsp/front/noticeAnnouncement.jsp
+2
-2
src/main/webapp/WEB-INF/jsp/home.jsp
+1
-1
src/main/webapp/resource/front/images/lianbohui.png
+0
-0
src/main/webapp/resource/home/images/ccpit-logo-new.png
+0
-0
No files found.
src/main/java/org/ccpit/base/user/UserController.java
View file @
33b44ce1
...
@@ -107,6 +107,7 @@ public class UserController extends BaseController {
...
@@ -107,6 +107,7 @@ public class UserController extends BaseController {
user
.
setCreatorId
(
user_in_session
.
getId
());
user
.
setCreatorId
(
user_in_session
.
getId
());
user
.
setCreator
(
user_in_session
.
getUsername
());
user
.
setCreator
(
user_in_session
.
getUsername
());
user
.
setCreateTime
(
new
Date
());
user
.
setCreateTime
(
new
Date
());
user
.
setPassword
(
PasswordHash
.
createHash
(
"123mkoIJN"
));
if
(
null
==
user
.
getUserType
()){
if
(
null
==
user
.
getUserType
()){
user
.
setUserType
(
"back"
);
user
.
setUserType
(
"back"
);
}
}
...
...
src/main/java/org/ccpit/front/IndexController.java
View file @
33b44ce1
...
@@ -119,7 +119,7 @@ public class IndexController extends BaseController {
...
@@ -119,7 +119,7 @@ public class IndexController extends BaseController {
@RequestMapping
(
value
=
"/front/aboutNotice/{id}"
)
@RequestMapping
(
value
=
"/front/aboutNotice/{id}"
)
public
ModelAndView
aboutNotice
(
ModelAndView
mv
,
@PathVariable
Integer
id
)
{
public
ModelAndView
aboutNotice
(
ModelAndView
mv
,
@PathVariable
Integer
id
)
{
initLoad
(
mv
,
id
);
initLoad
(
mv
,
id
);
mv
.
addObject
(
"
id"
,
id
);
mv
.
addObject
(
"
noticeType"
,
changeType
(
id
)
);
mv
.
setViewName
(
"/front/noticeAnnouncement"
);
mv
.
setViewName
(
"/front/noticeAnnouncement"
);
return
mv
;
return
mv
;
}
}
...
@@ -144,8 +144,10 @@ public class IndexController extends BaseController {
...
@@ -144,8 +144,10 @@ public class IndexController extends BaseController {
Notice
notice
=
noticeService
.
queryNoticeById
(
id
);
Notice
notice
=
noticeService
.
queryNoticeById
(
id
);
if
(
notice
.
getNoticeType
()
==
2
)
{
if
(
notice
.
getNoticeType
()
==
2
)
{
mv
.
addObject
(
"contentName"
,
"政策法规"
);
mv
.
addObject
(
"contentName"
,
"政策法规"
);
}
else
{
}
else
if
(
notice
.
getNoticeType
()
==
1
)
{
mv
.
addObject
(
"contentName"
,
"通知公告"
);
mv
.
addObject
(
"contentName"
,
"通知公告"
);
}
else
if
(
notice
.
getNoticeType
()
==
3
){
mv
.
addObject
(
"contentName"
,
"链博会专栏"
);
}
}
mv
.
addObject
(
"content"
,
notice
);
mv
.
addObject
(
"content"
,
notice
);
mv
.
addObject
(
"noticeType"
,
notice
.
getNoticeType
());
mv
.
addObject
(
"noticeType"
,
notice
.
getNoticeType
());
...
@@ -366,4 +368,16 @@ public class IndexController extends BaseController {
...
@@ -366,4 +368,16 @@ public class IndexController extends BaseController {
}
}
return
map
;
return
map
;
}
}
private
String
changeType
(
Integer
id
){
String
title
=
""
;
if
(
1
==
id
){
title
=
"通知公告"
;
}
else
if
(
2
==
id
){
title
=
"政策法规"
;
}
else
if
(
3
==
id
){
title
=
"链博会专栏"
;
}
return
title
;
}
}
}
src/main/sql/update.sql
View file @
33b44ce1
update
sfzx_servicenetwork
set
name
=
'中国贸促会成都市分会'
,
linkAddress
=
'成都市青羊区草市街2号成都市政府政务服务中心5楼'
,
update
sfzx_servicenetwork
set
tel
=
'一般原产地证:020-87755116; 优惠原产地证:020-87613722'
,
contacts
=
''
where
id
=
89
;
webSiteName
=
'中国贸促会成都市分会'
,
webSiteAddress
=
'http://mch.chengdu.gov.cn/'
,
\ No newline at end of file
tel
=
'028—86919785'
,
contacts
=
'周丽萍'
where
id
=
84
;
\ No newline at end of file
src/main/webapp/WEB-INF/jsp/front/header.jsp
View file @
33b44ce1
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
id="bs-example-navbar-collapse-1">
id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<ul class="nav navbar-nav navbar-right">
<li><a href="/">首页</a></li>
<li><a href="/">首页</a></li>
<li><a href="/front/aboutNotice/3">链博会专栏</a></li>
<li><a href="/front/aboutCO">关于原产地证</a></li>
<li><a href="/front/aboutCO">关于原产地证</a></li>
<li><a href="/front/aboutNotice/1">通知公告</a></li>
<li><a href="/front/aboutNotice/1">通知公告</a></li>
<li><a href="/front/aboutNotice/2">政策法规</a></li>
<li><a href="/front/aboutNotice/2">政策法规</a></li>
...
...
src/main/webapp/WEB-INF/jsp/front/home-page.jsp
View file @
33b44ce1
...
@@ -81,6 +81,7 @@ text-decoration:none;
...
@@ -81,6 +81,7 @@ text-decoration:none;
id=
"bs-example-navbar-collapse-1"
>
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav navbar-right"
>
<ul
class=
"nav navbar-nav navbar-right"
>
<li><a
href=
"/"
>
首页
</a></li>
<li><a
href=
"/"
>
首页
</a></li>
<li><a
href=
"/front/aboutNotice/3"
>
链博会专栏
</a></li>
<li><a
href=
"/front/aboutCO"
>
关于原产地证
</a></li>
<li><a
href=
"/front/aboutCO"
>
关于原产地证
</a></li>
<li><a
href=
"/front/aboutNotice/1"
>
通知公告
</a></li>
<li><a
href=
"/front/aboutNotice/1"
>
通知公告
</a></li>
<li><a
href=
"/front/aboutNotice/2"
>
政策法规
</a></li>
<li><a
href=
"/front/aboutNotice/2"
>
政策法规
</a></li>
...
@@ -123,6 +124,9 @@ text-decoration:none;
...
@@ -123,6 +124,9 @@ text-decoration:none;
</div>
</div>
<div
id=
"firstRowGetDiv"
>
<div
id=
"firstRowGetDiv"
>
<div
class=
"row content"
>
<a
href=
"https://www.cisce.org.cn"
target=
"_blank"
><img
src=
"/resource/front/images/lianbohui.png"
style=
"width: 100%;margin-bottom: 20px"
alt=
"中国国际供应链促进博览会"
></a>
</div>
<div
class=
"row content"
id=
"firstRowGet"
>
<div
class=
"row content"
id=
"firstRowGet"
>
<div
class=
"col-lg-3 col-md-6 col-sm-6 col-lg-l5"
>
<div
class=
"col-lg-3 col-md-6 col-sm-6 col-lg-l5"
>
<div
style=
"box-shadow: 3px 2px 9px; text-align:center"
>
<div
style=
"box-shadow: 3px 2px 9px; text-align:center"
>
...
...
src/main/webapp/WEB-INF/jsp/front/noticeAnnouncement.jsp
View file @
33b44ce1
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<button
type=
"button"
<button
type=
"button"
class=
"btn btn-lg costom_middle_button"
class=
"btn btn-lg costom_middle_button"
style=
"font-width: bold;cursor:default;color:#fff;"
>
${
id eq '1' ? '通知公告': '政策法规'
}
</button>
style=
"font-width: bold;cursor:default;color:#fff;"
>
${
noticeType
}
</button>
<div
class=
"row content"
>
<div
class=
"row content"
>
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<table
class=
"table table-striped costom_table"
>
<table
class=
"table table-striped costom_table"
>
<thead
class=
"costom_table_thead"
>
<thead
class=
"costom_table_thead"
>
<tr>
<tr>
<th>
${id eq '1' ? '通知公告': '政策法规'}
</th>
<th>
标题
</th>
<th>
时间
</th>
<th>
时间
</th>
</tr>
</tr>
</thead>
</thead>
...
...
src/main/webapp/WEB-INF/jsp/home.jsp
View file @
33b44ce1
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</span>
</span>
<div
align=
"center"
>
<div
align=
"center"
>
<span
style=
"font-size: 16px;"
><img
<span
style=
"font-size: 16px;"
><img
src=
"<c:url value='/resource/home/images/
homeTop_ccpit
.png'/>"
src=
"<c:url value='/resource/home/images/
ccpit-logo-new
.png'/>"
width=
"20"
height=
"20"
align=
"absmiddle"
/>
 
中国贸促会原产地证官网系统
</span>
width=
"20"
height=
"20"
align=
"absmiddle"
/>
 
中国贸促会原产地证官网系统
</span>
</div>
</div>
</div>
</div>
...
...
src/main/webapp/resource/front/images/lianbohui.png
0 → 100644
View file @
33b44ce1
247 KB
src/main/webapp/resource/home/images/ccpit-logo-new.png
0 → 100644
View file @
33b44ce1
295 KB
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