摘要: public void downLoad(HttpServletResponse response, HttpServletRequest request) { String id = request.getParameter("id");// id CownExcel cownExcel = cu 阅读全文
posted @ 2017-02-14 11:16 JLCUI 阅读(228) 评论(0) 推荐(0) 编辑
摘要: private void exportExcel(String fileName, List<Customer> customers) { WritableWorkbook wwb; FileOutputStream fos; try { String savePath = ConfigUtil.p 阅读全文
posted @ 2017-02-14 11:14 JLCUI 阅读(947) 评论(0) 推荐(0) 编辑
摘要: <task:scheduled ref="ExcelController" method="customerExcel" cron="0 0 0 0 1/1 ?"/> 类名:ExcelController 方法:customerExcel 自动任务时间选择:cron(网上可以查到匹配参数) 阅读全文
posted @ 2017-02-14 11:08 JLCUI 阅读(186) 评论(0) 推荐(0) 编辑
摘要: $('#dg').datagrid({ url:'<%=request.getContextPath()%>/customer/customerExcelList', toolbar:$('#toolbar'), rownumbers:true, columns : [[{field:'id',hi 阅读全文
posted @ 2017-02-14 10:12 JLCUI 阅读(764) 评论(0) 推荐(0) 编辑