自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 JavaScript 数组排序

JavaScript中数据排序1、数组排序(单纯数字)var items = [20,23,18,7,32,19,54,56,41]; var sortItems = function(){ return this.items.sort(); }function sortNumber(a, b) { return a-b; } 2、数组排序(对象数组)var students = [

2017-10-18 15:30:10 147

原创 Spring Boot 定时任务

Spring Boot项目定时任务实现定时任务实现方式: SpringBoot自带的Scheduled,可以将它看成一个轻量级的Quartz,而且使用起来比Quartz简单许多。spring boot 项目使用定时器实现任务步骤: 1)在项目启动的main方法中,添加注解 @EnableScheduling,该注解开启对计划任务的支持@SpringBootApplication @EnableS

2017-08-21 16:22:07 194

原创 MySql 实现多表更新

MySql多表更新Mysql实现多表更新的几种不同方法: 1)update table1 t1, table2 t2 set…的方式:update table1 t1, table2 t2 set t1.price = t1.price * 0.8, t2.num = 100 where t1.order_id= t2.order_id and t1.create_date < '2017-08-

2017-08-21 15:12:51 416

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除