mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 11:32:57 +08:00
refactor: 计算字段变更后的自动更新
This commit is contained in:
parent
5d9ee9bee2
commit
df142c5157
@ -67,9 +67,6 @@ public class Utils {
|
|||||||
DEException.throwException(Translator.get("i18n_field_circular_error"));
|
DEException.throwException(Translator.get("i18n_field_circular_error"));
|
||||||
}
|
}
|
||||||
String originField = getCalcField(chartField, originFields);
|
String originField = getCalcField(chartField, originFields);
|
||||||
if (originField == null) {
|
|
||||||
DEException.throwException(Translator.get("i18n_field_circular_error"));
|
|
||||||
}
|
|
||||||
originField = originField.replaceAll("[\\t\\n\\r]]", "");
|
originField = originField.replaceAll("[\\t\\n\\r]]", "");
|
||||||
// 正则提取[xxx]
|
// 正则提取[xxx]
|
||||||
String regex = "\\[(.*?)]";
|
String regex = "\\[(.*?)]";
|
||||||
@ -120,7 +117,7 @@ public class Utils {
|
|||||||
return field.getOriginName();
|
return field.getOriginName();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getLogic(String logic) {
|
public static String getLogic(String logic) {
|
||||||
|
Loading…
Reference in New Issue
Block a user