可以看到上面代碼中的灰色波浪線,特別影響觀感,可以看到是因為有了重復代碼。不確定它是怎么確定重復代碼的。
解決辦法:
Setting--Editor--Inspections--General---Duplicated Code fragment ,把勾去掉即可。
去除mapper.xml文件的背景色
No data sources configured 和 SQL dialect detection 去除選擇。
Injected language fragment 的Background 去除選擇 即可。