解决Excel导出特殊符号被转义

This commit is contained in:
leijun
2018-12-19 18:37:52 +08:00
parent 0e6ba4a68c
commit f59d87b7d0

View File

@@ -1962,6 +1962,10 @@ public class ExportExcel {
val =""; val ="";
} }
} }
if(!StringUtil.isEmpty(val)){
val = Encodes.unescapeHtml(String.valueOf(val));
}
}catch(Exception ex) { }catch(Exception ex) {
// Failure to ignore // Failure to ignore
log.error("Get entity value failed",ex); log.error("Get entity value failed",ex);