소스 검색

Merge branch 'develop' of http://192.168.11.14:51037/gitadmin/tuoheng_freeway into develop

tags/v1.2.0^2
wanjing 1 년 전
부모
커밋
3e08eb6a87
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/accident/AccidentNoticeService.java

+ 5
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/accident/AccidentNoticeService.java 파일 보기

@@ -82,6 +82,11 @@ public class AccidentNoticeService {
}
}
List<String> accidentIdList = oldList.stream().map(o -> o.getId()).collect(Collectors.toList());

if(CollectionUtils.isEmpty(accidentIdList) || accidentIdList.size() == 0){
//查询当前用户租户对应的预警数据
return JsonResult.success(accidentList);
}
newList = accidentMapper.selectList(Wrappers.<Accident>lambdaQuery()
.in(Accident::getId, accidentIdList));
accidentList.removeAll(newList);

Loading…
취소
저장