自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 vue 获取dom的css属性值

<template> <div id="topInfo" ref="topInfo" style="width: 200px;height: 200px;background-color: #0bb20c"> <img id="imgInfo" ref="imgInfo" src="./20151205231902_

2018-11-19 10:41:55 4232

原创 python

我是一个java开发人员,由于工作原因学习一下python,特此记录!!!1、 id(a)答:id方法的返回值就是对象的内存地址。2、is 用于判断两个变量引用对象是否为同一个, == 用于判断引用变量的值是否相等。3、print ("我叫 %s 今年 %d 岁!" % ('小明', 10))4、python re.findall(说明地址:https://blog.csdn....

2018-10-06 10:13:15 289

转载 JS 基础

1、ES6扩展运算符实现数组的深拷贝(复制)var arr = [1,2,3,4,5]var [ ...arr2 ] = arrarr[2] = 5console.log(arr)console.log(arr2)2、微信浏览器是可以上传图片的,这个链接在微信中打开可以上传图片答:http://www.jq22.com/yanshi18454...

2018-09-26 10:03:26 172

原创 java 递归 设置层级 分级数

//多级角色递归查询方法 public List<ProductCategory> iterateRoles(List<ProductCategory> menuVoList,String pid,Long level){ List<ProductCategory> result = new ArrayList<>(...

2018-09-22 11:22:15 5202

原创 vue 打包部署到tomcat

                                             http://192.168.3.78:8080/dist/index.html#/home  运行链接D:\chenInstall\apache-tomcat-8.0.50\webapps\ROOT\dist  文件路径...

2018-09-04 13:22:40 1415

原创 vue 使用百度地图插件

1、说明文档答:https://dafrok.github.io/vue-baidu-map/#/zh/index2、阿里巴巴矢量图下载地址答:http://iconfont.cn/help/detail?helptype=draw3、vue百度地图中修改定位图标答: <baidu-map class="map"> <bm-navigat...

2018-08-28 22:02:03 2118

原创 idea 中使用tomcat 部署 html

项目运行地址:http://localhost/main.html main的链接为该项目下的任意html名字链接直接就是该项目路径下的任意HTML名字了,而不用再去将项目路径作为链接oh,shit !!!自己备注过了,居然还忘记了,又坑了自己2小时  ...

2018-08-27 20:16:02 5404 1

原创 Postman 使用post方法请求数据

2018-08-16 17:13:28 875

原创 vue 坑

1、总结遇到的莫名的错误,还没解决的this.axios({ method: 'post', url: '/admin/config/createOrUpdateAdminRole', data: this.form}).then(response => { if (response.status == 200) { this.$ref...

2018-08-15 10:19:34 229

原创 vue 基础总结

超好看,拿来即用的后端开发框架https://github.com/PanJiaChen/vue-element-adminhttps://panjiachen.github.io/vue-element-admin/#/table/tree-tablehttp://webapplayers.com/inspinia_admin-v2.8/dashboard_5.html手机登...

2018-08-09 09:53:38 353

原创 mysql别名的计算

SELECT    (cc + 1) bbFROM    (        SELECT            product_id cc        FROM            xh_my_share    ) t1

2018-08-01 15:26:17 2269

原创 重构改善既有代码的设计(github源码)

 refactoring improving the design of existing code(重构改善既有代码的设计)https://github.com/CoderDream/refactoring-improving-the-design-of-existing-code

2018-07-29 11:56:06 4776

原创 Jackson 异常

can not instantiate from JSON object (need to add/enable type information?)LinkedhashMap 集合转对像:1、必须要有无餐构造函数,不然就报上面的错误

2018-07-27 09:41:45 1153

原创 扩展mybatis-generator插件;高效率分页查询,自动添加swagger2注解到实体类

myBatisGeneratorPlugins一些mybatis-generator扩展插件集合已实现功能自动添加swagger2注解到实体类 扩展set方法,返回this实例;方便链式调用详细介绍1. 自动添加swagger2注解到实体类自动为entity类生成swagger2文档注解,注解内容为数据库comment内容原文地址:https://www.ctolib....

2018-07-24 22:12:03 3752 1

原创 maven 自己上网下载jar包存放在本地仓库的位置

2018-07-24 22:07:56 2147

原创 maven的奇葩事

使用idea的install的 时候总是各种报错,找不到自己写的jar包的依赖,但是我直接运行主函数却可以运行,也能找到自己写的依赖的jar包,不知道什么原因,反正能用就先不管了,等以后遇到问题在来解决 报错:Failed to execute goal on project common-shop-model: Could not resolve dependencies for pro...

2018-07-18 21:00:43 208

原创 没有数据源设置的时候报错

Spring boot没有配置数据源参数的时候就报这个错误 java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.con...

2018-07-18 20:47:38 704

原创 java contain比对值一样就是包含,内存地址不一样,值一样也是包含

2018-07-17 15:07:06 641 2

原创 项目移除出maven工程之后,移动回来的方法

这只是其中一种,还有其他的请百度 

2018-07-16 21:36:28 583

原创 vue 后台管理框架

https://superdevresources.com/vuejs-mobile-frameworks/https://vuetifyjs.com/zh-Hans/components/data-tableshttps://github.com/vue-bulma/vue-admin

2018-07-13 09:09:07 2932

转载 java 8 BigDecimal进行相加

private static final DecimalFormat df = new DecimalFormat("0.00");//保留两位小数点 public static void main(String[] args) { Random random = new Random(); List<User> list = new Arra...

2018-07-12 10:02:17 10181 1

转载 账户明细表

用户表有个余额和用户ID即可数据量很大的话可以分开。 余额表字段日志ID用户ID动作(充值、支出、购买等等)变动的钱(收入用正数,支出用负数)此时的余额(变动后的)操作时间操作IP备注放事务放消息队列,那么用户在注册的时候不知道到底注册成功没有。万一入消息队列成功,你返回注册成功给用户,结果在拿出消息进行处理的时候报错,这就尴尬了。...

2018-06-22 10:02:38 1981

原创 java enum

package initialization;import initialization.Spiciness;public class Burrito { Spiciness degree; public Burrito(Spiciness degree) { this.degree = degree; } public void des...

2018-06-15 16:55:09 172

原创 筛选(fillter)和切片、map

 学习笔记,源代码在GitHub上:https://github.com/chenquan1992/java_8_in_action.git这都是java 8 in action书上的源代码public static List<Integer> getLowCaloricDishesNamesInJava8(List<Dish> dishes){ ...

2018-06-01 10:47:34 531

原创 jdk 8 新特性之一

forEachpublic class Demo { public static void main(String[] args) { List<String> list = new ArrayList<String>(); list.add("aa"); list.add("bb"); list.ad...

2018-05-31 15:18:08 143

转载 tk.mybaitis Example 生成sql的用法

@Test public void test1() { ArrayList<String> strings = new ArrayList<>(); strings.add("aa"); strings.add("bb"); Example example = new Example(PushC...

2018-05-31 13:50:26 2281

空空如也

空空如也

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

TA关注的人

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