|
|
@ -120,7 +120,7 @@ public class LabelDataProcessorServiceImpl implements LabelDataProcessorService |
|
|
if (normalized.isEmpty()) { |
|
|
if (normalized.isEmpty()) { |
|
|
return ""; |
|
|
return ""; |
|
|
} |
|
|
} |
|
|
// 兼容 #[QTY]、[QTY] 这类字段写法 |
|
|
|
|
|
|
|
|
// 兼容 #[QTY]、[QTY] 这类字段写法1 |
|
|
if (normalized.startsWith("[") && normalized.endsWith("]") && normalized.length() > 2) { |
|
|
if (normalized.startsWith("[") && normalized.endsWith("]") && normalized.length() > 2) { |
|
|
normalized = normalized.substring(1, normalized.length() - 1).trim(); |
|
|
normalized = normalized.substring(1, normalized.length() - 1).trim(); |
|
|
} |
|
|
} |
|
|
|