1、在项目中引入hutool的jar包用于计算
3、String s = StrUtil.emptyToDefault(name,"这字符串是空啊。");这个方法将null或者“”自动转换成参数的默认值
5、如果字符串不是空呢?则会原样输出