文件夹里的目录:
generatorConfig.xml里的内容:
connectionURL="jdbc:mysql://localhost:3306/irs1?serverTimezone=GMT%2B8"
userId="root" password="123456">
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
再在当前文件夹下进入 ![在这里插入图片描述](https://img-blog.csdnimg.cn/20190121151820799.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NDI3NTAw,size_16,color_FFFFFF,t_70)
运行 java -jar mybatis-generator-core-1.3.7.jar -configfile generatorConfig.xml -overwrite 后
成功界面