1、数据为null会报错
2、获取当前时间:
${.now?string["yyyy年MM月dd日"]}
3、保留小数位数
#{number ;m3M3}m最少几位小数,M最大几位小数(注意前面是#)
其他明细链接:
https://www.cnblogs.com/JealousGirl/p/6914122.html;
https://blog.youkuaiyun.com/yb464855952/article/details/85240480;
https://blog.youkuaiyun.com/u012964999/article/details/52057457