最新回答 / weixin_慕仔2069104
檢查?tableInfo.getTableName() 有沒有獲取到正確的表名,用日志排查一下直接手動輸入表名:tableInfo.setTableName("your_table_name");
2023-04-14
最贊回答 / athr
查閱官網(wǎng),發(fā)現(xiàn)要用了新的版本,加入了如下代碼:
@Bean public?MybatisPlusInterceptor?mybatisPlusInterceptor()?{ ????MybatisPlusInterceptor?mybatisPlusInterceptor?=?new?MybatisPlusInterceptor(); ????mybatisPlusInterce...
2022-07-13
最新回答 / 慕粉1471508211
他講的這個和目前官網(wǎng)版本差距有點大,反正我是結合講的和看的官網(wǎng)文檔以及官網(wǎng)提供的案例,理解起來感覺還可以。
2022-03-02
最新回答 / itachy
MP本身不支持恢復數(shù)據(jù),恢復方法可參考:https://blog.csdn.net/qq_38989725/article/details/125910118
2021-12-15
講師回答 / 老猿
select max(id) from 表名,這樣應該可以實現(xiàn)你的需求,但是你得確保,你得到這個結果后沒有新的數(shù)據(jù)插入,如果有新數(shù)據(jù)插入,它就不是最大的id了。
2021-05-06