GlobalConfig gc = new GlobalConfig(); //接口加上自定义文件名-不会出现以i开头 gc.setMapperName("%sDao"); gc.setServiceName("%sService");