自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

cocosum

挣扎在生活中的小强

  • 博客(8)
  • 资源 (1)
  • 问答 (3)
  • 收藏
  • 关注

原创 bootstrap table

1、导入js与css<!--导入js的方式有很多,按你们自己的来 我这里是用了thymeleaf模板--><link th:href="@{/static/bootstrap/dist/css/bootstrap.min.css}" rel="stylesheet"><link th:href="@{/static/bootstrap-table/bo...

2018-12-27 15:24:36 481

原创 Mysql 索引的创建、查看、删除

-- 查看某个表的索引show index from table_name; --table_name为表名-- 创建某个表的某个字段为的索引-- table_name 为表名-- index_name 为索引名,索引名规范一点尽量以index_ 或 in_等打头-- (name)里面的name 为列名 就是你要给哪个列建立索引alter table table_name a...

2018-12-27 15:05:43 139

原创 bootstrap table 表头排序

// 在columns 里面加上 sortable : true 如下:columns : [{field : '', width : 50, align: 'center', title : '', sortable : true }] 

2018-12-27 14:49:48 12518 11

原创 Mysql 查询本月和上月的信息

-- inner jion select a.name , a.sel 本月工资, b.sel 上月工资 from emp a inner jion emp b on a.empId = b.empId where a.month = '9' and b.month = '8'-- 9 九月 8 八月 

2018-12-27 14:35:18 1152

原创 Mysql 默认排序 与 去除重复

1.排序--设置一个变量--写法一:set @rownum = 0;select (@rownum :=@rownum + 1) as rn, t.* from table_name t--写法二:select (@rownum:=@rownum+1) as rn, t.* from table_name t,(select @rownum:=0) as a2.去除...

2018-12-27 14:17:26 1053

原创 Springboot2.0 打包war

1、首先pom.xml里面配置一句打包成war的语句 <modelVersion>4.0.0</modelVersion> <groupId>com.search</groupId> <artifactId>search</artifactId> <version>0.0.1-SNAPSHOT&am

2018-12-11 10:35:19 567

原创 Eclipse 安装lombok插件

1、mvnrepository.com  (maven jar包下载的一个网站)下载lombok.jar 2、把下载的lombok.jar拷到eclispe的安装目录,有的小伙伴可能是zip下载的不需要要安装,直接找到eclipse的目录,如下图:3、双击lombok.jar 4、查看eclipse.ini配置文件,看看有没有配置lombok.jar的绝对路径,如...

2018-12-11 09:45:04 201

原创 Springboot2.0设置默认首页

1、Controller控制层import org.springframework.beans.factory.annotation.Autowired;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RestCon...

2018-12-10 17:44:19 5308 4

JS Base64 加密 免费下载

前端字符串,手机号等base64加密

2020-06-18

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

TA关注的人

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