Mybatis中Invalid bound statement (not found): com.atguigu.mybatis.dao.EmployeeMapper.getEmpById報錯問題

使用接口式動態綁定時注意一下兩個地方:

@Param接口參數

xml文件#{} 括號中的內容

自己粗心造成的問題,僅供參考

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章