Mybatis註解實現MySQL數據庫基本操做

1. 查詢 2. 增長 3. 更新 4. 刪除 1. 查詢 @Select("select * from tb") 2. 增長 @Insert("insert into tb values(#{param1},#{parma2})") 3. 更新 @Update("update tb set id=#{param1},") 4. 刪除 @Delete("delete from tb where i
相關文章
相關標籤/搜索