在使用通用mapper插入方法insertSelective時,報錯AopInvocationException: Null return value from advice does not match primitive return type for: public abstract int
原因:sql出現問題。但是insertSelective這個sql本身不容易出現問題,大概率原因是數據庫表中字段的類型不對或者長度不夠
在使用通用mapper插入方法insertSelective時,報錯AopInvocationException: Null return value from advice does not match primitive return type for: public abstract int
原因:sql出現問題。但是insertSelective這個sql本身不容易出現問題,大概率原因是數據庫表中字段的類型不對或者長度不夠