Optional int parameter 'id' is present but cannot be translated into a null value due to being decla

这个错误可以将参数由int改为Integer

原文地址:https://www.cnblogs.com/tongxuping/p/7599932.html