不能为null 值 将 long 接收 转成 Long
Optional long parameter 'PactId' is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it as object wrapper for the corresponding primitive type.
此篇博客探讨了为何将含有null值的long类型转换为Long对象时会遇到问题,建议将long声明为对象包装类型以解决这一类型冲突。
不能为null 值 将 long 接收 转成 Long
Optional long parameter 'PactId' is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it as object wrapper for the corresponding primitive type.
1万+
593
1万+
2141
2335
2316
1153
407
2243

被折叠的 条评论
为什么被折叠?