摘要:
//系统当前时间var now = new Date();var year = now.getFullYear();var month = now.getMonth() + 1;var day = now.getDate();var currentime = year + "-" + month + 阅读全文
摘要:
方法一: select * from 表名 where dict_value = #{dictValue} order by 字段*1 asc 方法二: select * from 表名 where dict_value = #{dictValue} order by 字段+0 asc 阅读全文
摘要:
/** * 导出Word表格 * @author Saffi */ @RequestMapping("exportWord.action") public void exportWord(HttpServletResponse response) throws IOException { try { 阅读全文
摘要:
/** * 导出Excel * @author Saffi */ @RequestMapping("exportExcel.action") public void exportExcel(HttpServletResponse response) throws IOException { try 阅读全文