|
@@ -138,6 +138,8 @@ public class WaterBigDataServiceImpl extends BaseServiceImpl implements IWaterBi
|
|
|
for (Map<String, Object> map : list) {
|
|
|
if (StringUtils.isNotEmpty(MapUtils.getString(map,"hamlet"))){
|
|
|
map.put("num",MapUtils.getString(map,"hamlet").split(",").length);
|
|
|
+ }else {
|
|
|
+ map.put("num",0);
|
|
|
}
|
|
|
}
|
|
|
return list;
|