From d4ca3871c18474768c924fcbfd6e8d3178040092 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 15 九月 2025 01:19:56 +0800
Subject: [PATCH] 性能优化
---
blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/service/programannotation/AnnotationProperties.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/service/programannotation/AnnotationProperties.java b/blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/service/programannotation/AnnotationProperties.java
index b162d0d..f576b20 100644
--- a/blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/service/programannotation/AnnotationProperties.java
+++ b/blade-service/blade-mdm/src/main/java/org/springblade/mdm/program/service/programannotation/AnnotationProperties.java
@@ -5,8 +5,17 @@
@Data
public class AnnotationProperties {
private String beanId;
+ private int programNameLineIndex;
private int sendPathLineIndex;
private int statusLineIndex;
private int deviationLineIndex;
+ public static AnnotationProperties getDefault(){
+ AnnotationProperties def = new AnnotationProperties();
+ def.setProgramNameLineIndex(1);
+ def.setSendPathLineIndex(2);
+ def.setStatusLineIndex(3);
+ def.setDeviationLineIndex(4);
+ return def;
+ }
}
--
Gitblit v1.9.3