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.點開【Help】>>【Edit Custom VM Options ...】 2.在末尾加一句: -Dfile.encoding=UTF-8 3.重啓IDEA,ok了