puzhibing
3 天以前 ba6b508a44cb1f0730c6a27a5d73b8d2ae8f1d4b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
package com.supersavedriving.user.modular.system.util.MallBook.util;
 
import cn.hutool.core.util.StrUtil;
 
 
public class StringUtil extends StrUtil {
 
    /**
     * null转为空字符串
     *
     * @param str
     * @return
     */
    public static String convertNull(String str) {
        if (str == null) {
            return "";
        }
        return str;
    }
 
 
}