diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ThirdPartyStationRelationServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ThirdPartyStationRelationServiceImpl.java index f18c8f78a..e0aa7d379 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ThirdPartyStationRelationServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ThirdPartyStationRelationServiceImpl.java @@ -187,7 +187,7 @@ public class ThirdPartyStationRelationServiceImpl implements ThirdPartyStationRe if (dto == null) { return; } - if (dto.getEquipmentOwnerId().isEmpty()||dto.getThirdPartyType().isEmpty()){ + if (dto.getEquipmentOwnerId().isEmpty()){ throw new RuntimeException("未设置设备所属Id"); } ThirdPartyStationRelation thirdPartyStationRelation = thirdPartyStationRelationMapper.selectThirdPartyStationRelationById(Long.parseLong(dto.getId()));