摘要: 1.bigint相当于long类型,存8个字节。 阅读全文
posted @ 2018-04-06 20:30 把握当下 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 一.java.util.Date类 1.获取系统当前时间 2.改变输出时间格式 3.输出距离1970年1月1日0点0分0秒的毫秒数 二.java.util.Calendar类 阅读全文
posted @ 2018-04-06 20:07 把握当下 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 判断一个表是否存在 SELECT table_name FROM information_schema.TABLES WHERE table_name ='yourname'; 阅读全文
posted @ 2018-04-06 19:00 把握当下 阅读(15423) 评论(0) 推荐(0) 编辑
摘要: 1.字符串转成对象 User user = JSON.parseObject(str , User.class); 2.对象转成字符串 String str = JSON.toJSONString(user); 阅读全文
posted @ 2018-04-06 18:30 把握当下 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/yh_zeng2/article/details/74898305 阅读全文
posted @ 2018-04-06 16:13 把握当下 阅读(192) 评论(0) 推荐(0) 编辑