09 2021 档案
摘要:1.只要不为空,就在后面添加逗号,最后再用subString()函数截取,去掉最后一位的逗号 List<String> test = new ArrayList<>(); String testStrings = ""; test.add("test1"); test.add("test2"); t
阅读全文
摘要:直接在Number中扩展货币格式方法 Number.prototype.formatMoney = function (places, symbol, thousand, decimal) { places = !isNaN(places = Math.abs(places)) ? places :
阅读全文
摘要: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,'')
阅读全文
摘要:```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
阅读全文

浙公网安备 33010602011771号