上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: -- oracle生成uuid select sys_guid() from dual; -- 解决乱码 select rawtohex(sys_guid()) from dual; 阅读全文
posted @ 2024-04-01 17:16 一隅桥畔 阅读(395) 评论(0) 推荐(0)
摘要: //获取前一天的日期 var date = new Date(); date.setDate(date.getDate()-1);//设置为前一天 console.log("前一天的日期:" + date.toLocaleString()); //获取上个月的日期 var date = new Da 阅读全文
posted @ 2024-03-13 17:11 一隅桥畔 阅读(1175) 评论(0) 推荐(0)
摘要: //获取当月的第一天 var date = new Date(); date.setMonth(date.getMonth(), 1);//将日期设置为本月的第一天 console.log("当月的第一天:" + date); //获取当月的最后一天 var date = new Date(); d 阅读全文
posted @ 2024-03-13 14:22 一隅桥畔 阅读(1242) 评论(0) 推荐(0)
摘要: /** * 返回中文的首字母 */ public static String getPinYinHeadChar(String str) { String sb = ""; for (int j = 0; j < str.length(); j++) { char word = str.charAt 阅读全文
posted @ 2024-01-31 22:36 一隅桥畔 阅读(74) 评论(0) 推荐(0)
摘要: 31-Jan-2024 14:01:13.812 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"] 31-Jan-2024 14:01:13.818 严重 [main] org.apache.ca 阅读全文
posted @ 2024-01-31 14:12 一隅桥畔 阅读(1043) 评论(0) 推荐(0)
摘要: List<Map<String,Object>> list = new ArrayList<>(); Map<String,Object> map1 = new HashMap<>(); map1.put("code","01"); map1.put("name","小张"); map1.put(" 阅读全文
posted @ 2024-01-30 17:20 一隅桥畔 阅读(676) 评论(0) 推荐(0)
摘要: -- 服务器时区值“Öйú±ê׼ʱ¼ä”无法识别或表示多个时区。 The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. --查看数据库时区 show va 阅读全文
posted @ 2024-01-03 00:53 一隅桥畔 阅读(123) 评论(0) 推荐(0)
摘要: //字符串转json数组 String str = "[{\"code\":\"0001\",\"name\":\"050\"},{\"code\":\"0002\",\"name\":\"185\"}]"; JSONArray deptArray = JSONArray.parseArray(st 阅读全文
posted @ 2023-11-29 17:57 一隅桥畔 阅读(346) 评论(0) 推荐(0)
摘要: -- 字段设置默认值 alter table t_ward add default 0 for valid; 阅读全文
posted @ 2023-10-09 18:19 一隅桥畔 阅读(86) 评论(0) 推荐(0)
摘要: -- sql server分组排序取出每组顺序第一条 select * from ( select *,row_number() over(partition by bloodbag_id order by operation_date desc) rn from tt_blood_log )t w 阅读全文
posted @ 2023-09-26 15:32 一隅桥畔 阅读(463) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 13 下一页