Commit 29cd8e67 by 丁伟

1、修改错误样式

parent e88b1689
......@@ -76,12 +76,16 @@ public class QuestionService {
List<Question> questionList = questionDao.queryAll();
return questionList;
}
public void update(Question question){
questionDao.update(question);
}
/**
*
* isExistQuestion:(根据标题判断问题信息是否存在). <br/>
* @author
* @param QuestionTitle
* @param
* @since JDK 1.8.0
*/
public boolean queryQuestionByTitle(String questionTitle) {
......
......@@ -191,6 +191,8 @@ public class IndexController extends BaseController {
mv.addObject("contentName", "常见问题");
mv.addObject("content", question);
mv.setViewName("/front/questionContent");
question.setClickVolume(question.getClickVolume() + 1);
questionService.update(question);
return mv;
}
......
update sfzx_servicenetwork set contacts = '丁明君 张静' where id = 33;
select * from sfzx_servicenetwork where id = 33;
\ No newline at end of file
update sfzx_servicenetwork set tel = '010-82217075/7068', contacts = '马琳;王莹' where id = 15;
\ No newline at end of file
update sfzx_servicenetwork set contacts = '丁明君 张静' where id = 33;
select * from sfzx_servicenetwork where id = 33;
\ No newline at end of file
......@@ -184,6 +184,7 @@
<td><div class="cer-img"><a href="/resource/front/images/yt.jpeg" target="_blank"><img src="/resource/front/images/yt.jpeg" /><div class="cer-font">亚太优惠原产地证书</div></a></div></td>
<td><div class="cer-img"><a href="/resource/front/images/zl.jpeg" target="_blank"><img src="/resource/front/images/zl.jpeg" /><div class="cer-font">智利优惠原产地证书</div></a></div></td>
<td><div class="cer-img"><a href="/resource/front/images/xjp.jpg" target="_blank"><img src="/resource/front/images/xjp.jpg" /><div class="cer-font">新加坡优惠原产地证书</div></a></div></td>
<td><div class="cer-img"><a href="/resource/front/images/bjst.jpg" target="_blank"><img src="/resource/front/images/bjst.jpg" /><div class="cer-font">巴基斯坦优惠原产地证书</div></a></div></td>
<td></td>
</tr>
</table>
......
......@@ -12,7 +12,7 @@
<script src="<c:url value='/resource/login/js/jquery.js'/>" type="text/javascript"></script>
<script src="<c:url value='/resource/login/js/cloud.js '/>" type="text/javascript"></script>
<script src="<c:url value='/resource/login/js/login.js'/>"></script>
<title>中国贸促会臺港澳企業服務中心官网系统</title>
<title>中国贸促会原产地证官网系统</title>
<script language="javascript">
</script>
<style type="text/css">
......@@ -45,7 +45,7 @@
<div id="cloud2" class="cloud"></div>
</div>
<div class="logintop">
<span>欢迎登录中国贸促会臺港澳企業服務中心官网系统</span>
<span>欢迎登录中国贸促会原产地证官网系统</span>
<ul>
<li><a href="/">回首页</a></li>
<li><a href="#">帮助</a></li>
......@@ -54,7 +54,7 @@
</div>
<div class="loginbody">
<span class="systemlogo"></span>
<span class="systemlogo"><img src="/resource/login/images/logininfo-co.png" style="width: 545px;height: 108px;"></span>
<div class="loginbox">
<form action="../admin/login" method="post">
......
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