For input string: ""异常

图片说明
这个一直报错,求大神解答

数值类型转换异常,检查下price、amount、Rec、id传入的值是否为空字符串

NumberFormatException 数字格式异常,string的值为'' 而并非'1'或者'2' 所以无法转换为数字