mybtis-generator的使用

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u014218318/article/details/82997511

遇到的问题

1.生成的mapper中没有updateByPrimaryKeySelective, selectByPrimaryKey方法?
原因: 数据库中的该表未设置主键.添加id主键即可

猜你喜欢

转载自blog.csdn.net/u014218318/article/details/82997511