1.創建多列不重複索引(多列同時重複則不會插入):
alter table `fx_userappreg`
add index index_fx_userappreg_unique(`sysuserid`, `userappid`)
1.創建多列不重複索引(多列同時重複則不會插入):
alter table `fx_userappreg`
add index index_fx_userappreg_unique(`sysuserid`, `userappid`)
1.在項目的web.xml倒數第二行加入一句: <absolute-ordering />
1.點開【Help】>>【Edit Custom VM Options ...】 2.在末尾加一句: -Dfile.encoding=UTF-8 3.重啓IDEA,ok了