2019年7月30日

摘要: SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式Date date = new Date();System.out.println(df.format(date)); // 当前系统时间 Date n 阅读全文
posted @ 2019-07-30 09:46 nh小金 阅读(154) 评论(0) 推荐(0) 编辑

2019年6月26日

摘要: 筛选条件的时候, 数据库存储有几种, 比如有效, 无效,过期等等. 但是条件中只有有效和无效两种. 所以进行sql的判断. 不改代码 阅读全文
posted @ 2019-06-26 17:25 nh小金 阅读(98) 评论(0) 推荐(0) 编辑

2019年6月25日

摘要: 时间条件为一段时间, 所有符合规定的都包含这一时间段的情况 阅读全文
posted @ 2019-06-25 14:31 nh小金 阅读(91) 评论(0) 推荐(0) 编辑

2019年5月28日

摘要: Comparator<CarVioDetailVo> com = new Comparator<CarVioDetailVo>(){ @Override public int compare(CarVioDetailVo o1, CarVioDetailVo o2) { int num1 = Int 阅读全文
posted @ 2019-05-28 17:05 nh小金 阅读(658) 评论(0) 推荐(0) 编辑

2019年4月16日

摘要: 入参 {"vehicleList":[{"vehicleNo":"赣057","plateColor":"2"}],"coordsys":1} 阅读全文
posted @ 2019-04-16 16:05 nh小金 阅读(95) 评论(0) 推荐(0) 编辑

2019年4月12日

摘要: private String getContent(MultipartFile file) { long start = System.currentTimeMillis(); InputStream is = null; ByteArrayOutputStream out = new ByteAr 阅读全文
posted @ 2019-04-12 11:10 nh小金 阅读(183) 评论(0) 推荐(0) 编辑

2019年4月10日

摘要: SELECT p.id AS id, p.public_key_name AS publicKeyName, p.upload_account AS uploadAccount, h. NAME AS channelName, p.upload_time AS uploadTime, p.remark AS remarkFROM public_key pL... 阅读全文
posted @ 2019-04-10 09:58 nh小金 阅读(143) 评论(0) 推荐(0) 编辑
 
摘要: https://www.cnblogs.com/ljdblog/p/6725094.html -- 参考 阅读全文
posted @ 2019-04-10 09:57 nh小金 阅读(70) 评论(0) 推荐(0) 编辑

2019年3月25日

摘要: 1 阅读全文
posted @ 2019-03-25 16:59 nh小金 阅读(153) 评论(0) 推荐(0) 编辑

2019年3月7日

摘要: public static void main(String[] args) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date nowDate = new Date(); Calendar calen 阅读全文
posted @ 2019-03-07 16:42 nh小金 阅读(907) 评论(0) 推荐(0) 编辑