1、修复了部分bug

2、优化了数据库sql文件
3、优化了部分文件
This commit is contained in:
张乐
2020-08-19 18:23:49 +08:00
parent 26781bc81e
commit 67dc28961c
46 changed files with 491 additions and 8077 deletions

View File

@@ -750,4 +750,16 @@ public class CrmebUtil {
Matcher matcher = pattern.matcher(str);
return matcher.matches();
}
//数组去重
public static List<Integer> arrayUnique(Integer[] arr){
List<Integer> list = new ArrayList<>();
for (Integer integer : arr) {
if (!list.contains(integer)) {
list.add(integer);
}
}
return list;
}
}