grails操作数组map为空的删除 def mapIsEmpty(map){ def isemtpy=[] map.each{row-> def aa=[:] row.collect{ if(it.value!=null){ aa<<it } } groovy、garils 2024-01-28 177 点赞 2 评论 268 浏览