grails操作数组map为空的删除
def mapIsEmpty(map){ def isemtpy=[] map.each{row-> def aa=[:] row.collect{ if(it.value!=null){ aa<<it } }