在往blob字段中存入附件时,调用BLOB的setBinaryStream方法,确定字段类型blob。本地环境没有任何问题,线上就会返回为null,参数0或1都试过
blob.setBinaryStream(1);
https://blog.csdn.net/Star_shaowei/article/details/81637086