NumberUtils.toInt()的用法

将字符串转换为默认的数字
NumberUtils.toInt(”page”,1)
如果传入的字符串未null则=取默认值为1

猜你喜欢

转载自blog.csdn.net/M_J_Y/article/details/80137668