- 博客(4)
- 收藏
- 关注
原创 springboot2.x如何设置session的失效时间
application.properties中填加下面的配置,时间单位是分钟server.servlet.session.timeout=1m
2020-01-17 17:40:36
2171
原创 mybatis-如何动态的拼接批量插入sql语句
现在有这样的一个需求批量保存用户信息时,字段数不确定,当时设计时,字段名称是col1、col2…需要根据用户导入excel去动态确定,excel表头存一个表,excel的员工信息存另一个表,一对多的关系实现代码如下dao层int batchInsert(Map<String, Object> map);映射的mapper文件<sql id="key"> ...
2020-01-07 14:31:51
1882
原创 bootstrap fileupload插件入门
引入资源<link href="${cpt}/components/bootstrap/css/bootstrap.min.css" rel="stylesheet"><link href="${cpt}/components/bootstrap/css/myCss.css" rel="stylesheet"><link href="${cpt}/compone...
2020-01-07 10:41:01
765
原创 自定义文件上传样式
如何将上传的文件名同步写到自定义的文本输入框代码如下<div class="uploader white"> <input type="text" class="filename" readonly id="filename" name="filename"/> <input type="button" name="filename...
2020-01-07 10:20:13
702
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人