From 68b39e911e45b23ebb1b3033911fcbfadc57841e Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Tue, 10 Oct 2023 09:18:50 +0800 Subject: [PATCH] =?UTF-8?q?#=E6=B0=B4=E7=94=B5=E7=AB=99bug=E8=A7=A3?= =?UTF-8?q?=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scheduled/service/operation/home/impl/RealTargetServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java index f06496d..c026bb5 100644 --- a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java +++ b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java @@ -135,7 +135,7 @@ public class RealTargetServiceImpl implements RealTargetService { // 站点设置 if(CollectionUtil.isNotEmpty(stations)){ List list = stations.stream().filter(o->item.getCreateDept().equals(o.getRefDept())).collect(Collectors.toList()); - if(CollectionUtil.isEmpty(list)){ + if(CollectionUtil.isNotEmpty(list)){ item.setStationCode(list.get(0).getCode()); item.setStationName(list.get(0).getName()); }