could not instantiate class [com.jinqing.cashier.entity.abstractVO.TradeItemVO] from tuple 报错是因为 构造方法里需要传参,如果数据库里参数为NULL就会报错。解决方法一 把数据库里参数的默认值设为空串二 构造函数里先判断是否为NULL long改为封装Long