Commit dd852c57 by 丁伟

1、隐藏部分功能。

parent 33b44ce1
......@@ -146,7 +146,7 @@ public class NoticeService {
}
map.put("id", notice.getId());
map.put("noticeTitle", notice.getNoticeTitle());
map.put("noticeType", null == notice.getNoticeType() ? "" : 1 == notice.getNoticeType() ? "通知公告" : "政策法规");
map.put("noticeType", changeT(notice.getNoticeType()));
map.put("createTime", StringUtil.DATE_FORMATE.format(notice.getCreateTime()));
map.put("clickVolume", notice.getClickVolume());
map.put("creator", notice.getCreator().getUsername());
......@@ -154,6 +154,18 @@ public class NoticeService {
return map;
}
private String changeT(int id){
String t = "";
if(1 == id){
t = "通知公告";
}else if(2 == id){
t = "政策法规";
}else if(3 == id){
t = "链博会专栏";
}
return t;
}
public PageBo<Notice> convert(Page<Notice> page) {
return new PageBo<Notice>(page, new Convert<Notice>() {
@Override
......
......@@ -58,7 +58,8 @@
<li role="presentation" class="active"><a href="#gaishu" aria-controls="gaishu" role="tab" data-toggle="tab">概述</a></li>
<li role="presentation" ><a href="#zggjmydyck" aria-controls="zggjmydyck" role="tab" data-toggle="tab">中国国际贸易单一窗口</a></li>
<li role="presentation" ><a href="#jsgjmydyck" aria-controls="jsgjmydyck" role="tab" data-toggle="tab">江苏国际贸易单一窗口</a></li>
<li role="presentation" ><a href="#ldkjyxgs" aria-controls="ldkjyxgs" role="tab" data-toggle="tab">乐单科技(福建)有限公司</a></li>
<li role="presentation" ><a href="#" aria-controls="ldkjyxgs" role="tab" data-toggle="tab"></a></li>
<%-- <li role="presentation" ><a href="#ldkjyxgs" aria-controls="ldkjyxgs" role="tab" data-toggle="tab">乐单科技(福建)有限公司</a></li>--%>
</ul>
</div>
......@@ -105,20 +106,20 @@
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="ldkjyxgs">
<ul class="nav nav-tabs category-content" role="tablist">
<li role="presentation" class="active"><a href="#gaishu" aria-controls="yewushuoming4" role="tab" data-toggle="tab">乐单科技(福建)有限公司</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="gaishu">
<div class="single-content" style="height:192px">
<span>&emsp;&emsp;址:<a href="http://manage.ldforms.com/UserLogin.aspx" target="_blank">manage.ldforms.com</a></span></br>
<span>机构名称:乐单科技(福建)有限公司</span>
</div>
</div>
</div>
</div>
<%-- <div role="tabpanel" class="tab-pane" id="ldkjyxgs">--%>
<%-- <ul class="nav nav-tabs category-content" role="tablist">--%>
<%-- <li role="presentation" class="active"><a href="#gaishu" aria-controls="yewushuoming4" role="tab" data-toggle="tab">乐单科技(福建)有限公司</a></li>--%>
<%-- </ul> --%>
<%-- <!-- Tab panes --> --%>
<%-- <div class="tab-content">--%>
<%-- <div role="tabpanel" class="tab-pane active" id="gaishu">--%>
<%-- <div class="single-content" style="height:192px">--%>
<%-- <span>&emsp;&emsp;址:<a href="http://manage.ldforms.com/UserLogin.aspx" target="_blank">manage.ldforms.com</a></span></br>--%>
<%-- <span>机构名称:乐单科技(福建)有限公司</span>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- </div>--%>
</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