会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
KeepSmiling_me
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
下一页
2020年6月5日
spirngboot设置定时任务
摘要: 1.引入定时任务jar /* 定期处理 */ // https://mvnrepository.com/artifact/org.quartz-scheduler/quartz compile group: 'org.quartz-scheduler', name: 'quartz', versio
阅读全文
posted @ 2020-06-05 14:59 KeepSmiling_me
阅读(632)
评论(0)
推荐(0)
2020年5月25日
纯css radio button样式
摘要: <div class="inRadio RadioStyle"> <input type="radio" checked onclick="editWareHouseIt(this)" id="editOrInsHouse01" name="editOrInsHouse" value="01"> <
阅读全文
posted @ 2020-05-25 13:46 KeepSmiling_me
阅读(755)
评论(0)
推荐(0)
【HTML+CSS】纯CSS设置checkbox大小和样式 附Radio的去除默认样式和自定义样式
摘要: <div class="check-item"> <input type="checkbox" class="check-item-in" id="checkbox3">正常复选框 <label for="checkbox3"></label> </div> <div class="check-it
阅读全文
posted @ 2020-05-25 13:36 KeepSmiling_me
阅读(686)
评论(0)
推荐(0)
2020年5月4日
jquery根据属性查询元素
摘要: 1.查找所有含有 id 属性的 div 元素 <div> <p>Hello!</p> </div> <div id="test2"></div> jquery代码:$("div[id]") 2.查找所有 name 属性是 newsletter 的 input 元素 <input type="chec
阅读全文
posted @ 2020-05-04 16:06 KeepSmiling_me
阅读(1009)
评论(0)
推荐(0)
2020年4月22日
获取当前日期的前n天或后n天
摘要: function GetDateStr(AddDayCount) { var dd = new Date(); dd.setDate(dd.getDate()+AddDayCount);//获取AddDayCount天后的日期 var y = dd.getFullYear(); var m = (d
阅读全文
posted @ 2020-04-22 11:00 KeepSmiling_me
阅读(452)
评论(0)
推荐(0)
2020年4月21日
Mybatis 中的insertOrUpdate操作
摘要: <insert id="insertOrUpdate"> insert into base_person (pname, idcard, gender, nation, source_flag, create_time) values <foreach collection="list" item=
阅读全文
posted @ 2020-04-21 14:25 KeepSmiling_me
阅读(4209)
评论(0)
推荐(0)
2020年4月16日
layui在窗口返回登录页面
摘要: $(function(){ if (top != window){ top.location.href = window.location.href; } }) 在登录页面添加
阅读全文
posted @ 2020-04-16 18:11 KeepSmiling_me
阅读(773)
评论(0)
推荐(0)
springBoot拦截器的配置
摘要: package com.zhk.demo.interceptor; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; impo
阅读全文
posted @ 2020-04-16 11:03 KeepSmiling_me
阅读(236)
评论(0)
推荐(0)
springBoot中判断请求是否为AJAX请求
摘要: String requestedWith = ((HttpServletRequest) request).getHeader("X-Requested-With"); if (request.getHeader("x-requested-with") != null && request.getH
阅读全文
posted @ 2020-04-16 10:45 KeepSmiling_me
阅读(2651)
评论(0)
推荐(0)
2020年4月14日
利用BeanMap进行对象与Map的相互转换
摘要: javabean与map的转换有很多种方式,比如: 1、通过ObjectMapper先将bean转换为json,再将json转换为map,但是这种方法比较绕,且效率很低,经测试,循环转换10000个bean,就需要12秒!!!不推荐使用 2、通过java反射,获取bean类的属性和值,再转换到map
阅读全文
posted @ 2020-04-14 10:22 KeepSmiling_me
阅读(2439)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
下一页
公告