摘要: //系统当前时间var now = new Date();var year = now.getFullYear();var month = now.getMonth() + 1;var day = now.getDate();var currentime = year + "-" + month + 阅读全文
posted @ 2017-10-27 18:20 shuzu渊 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 方法一: select * from 表名 where dict_value = #{dictValue} order by 字段*1 asc 方法二: select * from 表名 where dict_value = #{dictValue} order by 字段+0 asc 阅读全文
posted @ 2017-10-27 18:14 shuzu渊 阅读(162) 评论(0) 推荐(0) 编辑
摘要: /** * 导出Word表格 * @author Saffi */ @RequestMapping("exportWord.action") public void exportWord(HttpServletResponse response) throws IOException { try { 阅读全文
posted @ 2017-10-27 17:46 shuzu渊 阅读(659) 评论(0) 推荐(0) 编辑
摘要: /** * 导出Excel * @author Saffi */ @RequestMapping("exportExcel.action") public void exportExcel(HttpServletResponse response) throws IOException { try 阅读全文
posted @ 2017-10-27 17:35 shuzu渊 阅读(2272) 评论(1) 推荐(0) 编辑