org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException

前言: 在使用mybatis的時候,有的mapper接口需要傳入多個類型參數的接口,這時候一不小心就會出現題目中所提到的問題,這篇文章就這種情況出現的bug講解下bug出現的原因以及解決方案。 正文: 一、復現問題 首先看下我的各層代碼: 1.post請求界面 2.controller層代碼  3.service層代碼 4.serviceimpl層代碼 5.dao層代碼 6.mapper.xml層
相關文章
相關標籤/搜索