[nio-8089-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Mapper method 'com...system.mapper.Mapper.insert attempted to return null from a method with a primitive return type (int).] with root cause
报错ERROR 1236
,检查Mapper.xml
文件相关SQL
语句标签
是否写错。
我的问题是将<insert>
标签错误的写成<select>