|
|
@ -190,7 +190,7 @@ public class IcPlacePatrolTeamServiceImpl extends BaseServiceImpl<IcPlacePatrolT |
|
|
|
|
|
|
|
//4.分别封装网格。九小场所数据
|
|
|
|
//网格
|
|
|
|
StringBuffer gridNames = new StringBuffer(""); |
|
|
|
StringBuffer gridNames = new StringBuffer(); |
|
|
|
for (String str : resultDTO.getGridIds().split(",")) { |
|
|
|
gridList.forEach(r -> { |
|
|
|
if (str.equals(r.getId())) { |
|
|
@ -200,7 +200,7 @@ public class IcPlacePatrolTeamServiceImpl extends BaseServiceImpl<IcPlacePatrolT |
|
|
|
} |
|
|
|
resultDTO.setGridNames(gridNames.toString()); |
|
|
|
//九小场所
|
|
|
|
StringBuffer ninePlaceNames = new StringBuffer(""); |
|
|
|
StringBuffer ninePlaceNames = new StringBuffer(); |
|
|
|
for (String str : resultDTO.getNinePlaceVals().split(",")) { |
|
|
|
nineList.getData().forEach(r -> { |
|
|
|
if (str.equals(r.getValue())) { |
|
|
@ -248,7 +248,7 @@ public class IcPlacePatrolTeamServiceImpl extends BaseServiceImpl<IcPlacePatrolT |
|
|
|
|
|
|
|
//4.封装网格、九小场所数据
|
|
|
|
for (PlacePatrolTeamDetailResultDTO dto : result.getList()) { |
|
|
|
StringBuffer gridNames = new StringBuffer(""); |
|
|
|
StringBuffer gridNames = new StringBuffer(); |
|
|
|
for (String str : dto.getGridIds().split(",")) { |
|
|
|
gridList.forEach(r -> { |
|
|
|
if (str.equals(r.getId())) { |
|
|
@ -257,7 +257,7 @@ public class IcPlacePatrolTeamServiceImpl extends BaseServiceImpl<IcPlacePatrolT |
|
|
|
}); |
|
|
|
} |
|
|
|
dto.setGridNames(gridNames.toString()); |
|
|
|
StringBuffer ninePlaceNames = new StringBuffer(""); |
|
|
|
StringBuffer ninePlaceNames = new StringBuffer(); |
|
|
|
for (String str : dto.getNinePlaceVals().split(",")) { |
|
|
|
nineList.getData().forEach(r -> { |
|
|
|
if (str.equals(r.getValue())) { |
|
|
|