11 2018 档案

摘要:java 的 Excel 导入导出 (参照:慕课网 关于多版本问题) (一)普通 Java 程序 (无多版本控制) 1-1 Excel 写入 1-2 Excel 读取 (二) JavaWeb 程序 (多版本控制) 2.0 pom 文件依赖 2-1.文件上传 2-2 后台逻辑处理 2-3 获取 Exc 阅读全文
posted @ 2018-11-29 17:24 宁任翃 阅读(1113) 评论(0) 推荐(0)
摘要:在 maven 中使用了 commons-fileupload,使用方法: (一)上传 1.0 pom 文件依赖 1-1.前端界面 1-2.js 1-3.Controller@ResponseBody @RequestMapping("/teacherUpload") (二)下载 2-1 前端 2- 阅读全文
posted @ 2018-11-29 16:25 宁任翃 阅读(488) 评论(0) 推荐(0)
摘要:PageHelper 官网 https://pagehelper.github.io/ 1.在 pom 文件中引入 PageHelper 依赖 2.在 mybatis-config 中引入 PageHelper 插件 3.Controller PageInfo 提供的方法 4.页面 引入 tagli 阅读全文
posted @ 2018-11-15 10:33 宁任翃 阅读(649) 评论(0) 推荐(0)
摘要:1.xml 文件 1-1.xml文件格式 1-2.select 语句 1-3.其它语句 (以 delete 为例) 1-4.模糊查询 2.传入参数类型 3.Service层 1.baseService 2.UserService 4.Facade层 1.baseFacade (空的) 2.UserF 阅读全文
posted @ 2018-11-14 18:56 宁任翃 阅读(437) 评论(0) 推荐(0)