1,判断str==null||"".equals(str),如果返回值为true,则代表str里面没有数据 2,判断StringUtils.isEmpty(str),如果返回值为true,则代表str里面没有数据