摘要: public final static String MD5(String s) { char hexDigits[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; try { 阅读全文
posted @ 2023-03-27 11:39 我的心儿 阅读(21) 评论(0) 推荐(0)
摘要: /** * 获取精确到秒的时间戳 * * @return */ public static int getSecondTimestamp(Date date) { if (null == date) { return 0; } String timestamp = String.valueOf(da 阅读全文
posted @ 2023-03-27 11:36 我的心儿 阅读(48) 评论(0) 推荐(0)
摘要: @Test public void testGeneSql() { try { String ss = getFileContentTwo("D:\test\13json.txt"); JSONObject jo = JSONObject.parseObject(ss); JSONArray ja 阅读全文
posted @ 2023-03-27 11:14 我的心儿 阅读(51) 评论(0) 推荐(0)
摘要: package com.datahthx.credit.test; import cn.hutool.core.collection.ListUtil; import cn.hutool.core.date.DateTime; import cn.hutool.core.date.DateUtil; 阅读全文
posted @ 2023-03-27 11:06 我的心儿 阅读(27) 评论(0) 推荐(0)
摘要: public static void main(String[] args){ String n ="{\n" + " "data": [\n" + " {\n" + " "category": "设计资质",\n" + " "certNameList": [\n" + " {\n" + " "ce 阅读全文
posted @ 2023-03-27 11:02 我的心儿 阅读(57) 评论(0) 推荐(0)