09 2018 档案

java web 读取数据库数据写入Excel返回浏览器下载
摘要:1 @RequestMapping(value = "/download", method = RequestMethod.GET) 2 public void downstudents(HttpServletRequest request, HttpServletResponse response 阅读全文

posted @ 2018-09-06 21:18 longlinji 阅读(916) 评论(0) 推荐(0) 编辑

java web 下载本地文件并弹出下载框
摘要:1 window.open("/dept/download") 1 @RequestMapping(value = "/download", method = RequestMethod.GET) 2 public void downstudents(HttpServletRequest reque 阅读全文

posted @ 2018-09-06 20:33 longlinji 阅读(2948) 评论(0) 推荐(0) 编辑

使用枚举代替常量
摘要:1 public enum SumtypeEnum { 2 DEFALUT("",""), 3 SUM("sum","求和"), 4 MAX("max","最大值"), 5 MIN("min","最小值"); 6 String mStatus; 7 String mDesc; 8 SumtypeEn 阅读全文

posted @ 2018-09-01 14:40 longlinji 阅读(316) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示