原创 stream->sort

productList.stream().sorted(); //自然排序的過程 productList.stream().sorted(Comparator.comparing(ProductList::getSku)

原创 active 工作流

https://github.com/Activiti/Activiti  github地址 https://www.cnblogs.com/maocs/p/5009846.html  環境搭建 https://blog.csdn.net

原创 pgsql中常用

--添加字段和備註 alter table prm_letter_merge add varchar(324) DEFAULT null; alter table prm_letter_merge add url2 varcha

原创 當maven中出現Invalid Maven home directory configured

需要檢查maven配置,因項目重加載的時候對maven中的地址有所影響需重新檢查配置 須檢查上面的內容是否相符 上面的內容是否相符

原创 Springcloud中的值得參考的文章

原文鏈接:https://www.jianshu.com/u/802bbe244ebb https://www.jianshu.com/p/c836a283631e?from=groupmess

原创 正則

String str = "我mendacious3213,213;。⒈8イ┨ | ,.,。|”:;''\"|}{@#$%^&*()'"; String regEx = "[^a-zA-Z0-9\\u4E00-\\u9FA5。]*";

原创 git中本地中分支與緩存的操作

1.撤銷剛纔提交的commit git reset HEAD~ 2.刪除本地分支與遠程分支,進行重新克隆 --1首先切換到其他分支上,非刪除分支 git branch -a git push origin --delete d

原创 java中的符號的理解^,|,~

位邏輯運算符: &: 位與運算符,只有兩個操作數都是true,結果纔是true。 | : 位或運算符,只有兩個操作數都是false,結果纔是false。 ~: 位非運算符:如果位爲0,結果是1,如果位爲1,結果是0. ^: 位異或運算:

原创 OBJECT 中的equals和deepequals

先看源碼: 需要注意報名是util下面的並非java.lang下面的 package java.util; /** * Returns {@code true} if the arguments are equal to ea

原创 linux中查看日誌中用到的命令

http://blog.itpub.net/15498/viewspace-2637493

原创 pgsql中對索引的操作

查看錶中的索引的信息 select * from pg_indexes where tablename='prm_prom_bill_rule';   或者     select * from pg_statio_all_indexes

原创 linux 命令類

  查看linux的開放端口 netstat -anpt  

原创 git新建倉庫的使用

本文參考至git 的創建步驟 or create a new repository on the command line echo "# LeeCodeTest" >> README.md git init git add READM

原创 逆向工程

https://www.cnblogs.com/ningheshutong/p/6376970.html  參考此篇博客

原创 基於dockerfile構建docker container

docker之使用dockerfile配置tomcat、jdk環境 https://blog.csdn.net/qq_24557827/article/details/73729913 常用的docker參數: - FROM命令。用法