This commit is contained in:
YAS\29473
2025-12-09 16:16:34 +08:00
parent fa33b6028e
commit a1c1e95d6c

View File

@@ -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()));