09 2020 档案

Java 大写金额转换成数字
摘要:public Double CNYtoN(String amount) { double result = 0; double temp = -1;//存放一个单位的数字如:十万 int count = 0;//判断是否有chArr Map<Character, Double> map = new 阅读全文

posted @ 2020-09-18 19:10 菜鸟的进击 阅读(1032) 评论(0) 推荐(0)

linux 遍历文件添加index
摘要:#!/bin/bash count=0 for file in `ls`; do count=$((${count} + 1)); mv $file `echo ${count}"."${file##*.}`; done ${file##*.} 获取后缀名 过滤掉sh脚本 #!/bin/bash c 阅读全文

posted @ 2020-09-08 13:15 菜鸟的进击 阅读(585) 评论(0) 推荐(0)

JAVA 提取json路径,并对路径上的值进行脱敏或更改
摘要:java 获取json的jsonPah(com.alibaba.fastjson) //获取jsonPath public static List<String> getListJsonPath(JSONObject jsonObject) { List<String> jsonPaths= JSO 阅读全文

posted @ 2020-09-03 17:59 菜鸟的进击 阅读(4011) 评论(0) 推荐(0)