java blob转字符串
ByteArrayOutputStream baos = new ByteArrayOutputStream();
BLOB content = (BLOB)sysTemplateDTO.getTemplateContent();
ins = content.getBinaryStream();
int i = -1;
while ((i = ins.read()) != -1) {
baos.write(i);
}
String contentStr = baos.toString("utf-8");
contentStr = StringUtils.replace(contentStr, System.getProperty("line.separator"), "<br>");
//contentStr 就是最终结果,感觉这个方法有点d疼