数据库有些字段为null,有些字段为空,但是sql='' 发现没好友数据,sql !='' 也没有数据,换一种方法length(字段) is not null,意思是'字段 '!='' and '字段' is not null