07 2021 档案
摘要:Oracle实现判断功能三种方式总结 1、case … when … then...else...end select case when t.字段名= '1' then '要设置的名字1' when t.字段名 = '2' then '要设置的名字2' else '要设置的名字3' end fro
阅读全文
摘要:JS实现数字每三位加逗号 1、简单粗暴的方法,直接调 thousands("入参") 就会返回断位的 //三位一断方法function thousands(num){ var str = num.toString(); var reg = str.indexOf(".") > -1 ? /(\d)(
阅读全文