09 2021 档案

摘要:1.只要不为空,就在后面添加逗号,最后再用subString()函数截取,去掉最后一位的逗号 List<String> test = new ArrayList<>(); String testStrings = ""; test.add("test1"); test.add("test2"); t 阅读全文
posted @ 2021-09-13 16:50 寒冷的雨呢 阅读(8047) 评论(0) 推荐(0)
摘要:直接在Number中扩展货币格式方法 Number.prototype.formatMoney = function (places, symbol, thousand, decimal) { places = !isNaN(places = Math.abs(places)) ? places : 阅读全文
posted @ 2021-09-08 09:51 寒冷的雨呢 阅读(496) 评论(0) 推荐(0)
摘要:SELECT A.id,A.fz_id,A.jg_dept_id,A.jg_dept_name,A.jg_dept_code,IFNULL(B.config01,0) As config01,IFNULL(B.config02,0) As config02,IFNULL(B.config03,'') 阅读全文
posted @ 2021-09-04 16:15 寒冷的雨呢 阅读(755) 评论(0) 推荐(0)
摘要:```C //去重复 unique(arr1) { const res = new Map(); return arr1.filter((a) => !res.has(a.level) && res.set(a.level, 1)) }, uniqueFun(arr, type) { const r 阅读全文
posted @ 2021-09-04 12:34 寒冷的雨呢 阅读(76) 评论(0) 推荐(0)