Java字符串2

if(str!= null && str.isEmpty()){

  dao.get(str);

}

str.isEmpty判断字符串是否为空字符串

原文地址:https://www.cnblogs.com/minshia/p/6822341.html