前后端分离,前端上传数据,后台一直报这个Mapper method 'dao.xxx' has an unsupported return type错误,后来才发现是不需要返回值结果的,把返回值类型改为void就行了,如果是添加等操作也可以改为int类型。
Mapper method 'dao.xxx' has an unsupported return type
最新推荐文章于 2023-04-15 01:05:10 发布
前后端分离,前端上传数据,后台一直报这个Mapper method 'dao.xxx' has an unsupported return type错误,后来才发现是不需要返回值结果的,把返回值类型改为void就行了,如果是添加等操作也可以改为int类型。