Pārlūkot izejas kodu

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/V1.3.3
wanjing pirms 1 gada
vecāks
revīzija
91bb5d4a27
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. +4
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/dept/update/UpdateDeptService.java

+ 4
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/dept/update/UpdateDeptService.java Parādīt failu

@@ -317,8 +317,10 @@ public class UpdateDeptService {

List<RoadSectionDto> newRoadSectionList = newEditDeptRequest.getRoadSectionDtoList();
List<Section> newSectionList = new ArrayList<>();
for (RoadSectionDto roadSectionDto : newRoadSectionList) {
newSectionList.addAll(roadSectionDto.getSectionList());
if (CollectionUtil.isNotEmpty(newRoadSectionList)) {
for (RoadSectionDto roadSectionDto : newRoadSectionList) {
newSectionList.addAll(roadSectionDto.getSectionList());
}
}
List<String> newSectionIdList = newSectionList.stream().map(o -> o.getId()).collect(Collectors.toList());


Notiek ielāde…
Atcelt
Saglabāt