mybatis插入操作报错
org.apache.ibatis.binding.BindingException: Mapper method 'Mapper method 'com.bj.dao.StudentDao.insertStudent attempted to return null from a method with a primitive return type (int).
把select标签改成insert就好了
insertStudent attempted to return null from a method with a primitive return type (int)
于 2023-06-04 23:36:31 首次发布