测点映射表保存修改

This commit is contained in:
huguanghan 2025-01-15 15:27:49 +08:00
parent a5918d6363
commit c52a7f3d28

View File

@ -556,7 +556,12 @@ public class SysNodeServiceImpl implements SysNodeService {
throw new RuntimeException("JSON 解析失败: " + param, e); throw new RuntimeException("JSON 解析失败: " + param, e);
} }
}) })
.anyMatch(order -> !orderSet.add(order)); .anyMatch(order -> {
if (StringUtils.isNotEmpty(order)){
return !orderSet.add(order);
}
return false;
});
}catch (Exception e){ }catch (Exception e){
log.error("校验order不重复失败",e); log.error("校验order不重复失败",e);
} }