Browse Source

REPORT-140299 【数据集替换】数据列-高级-自定义显示中,没有替换

release/11.0
Destiny.Lin 1 week ago
parent
commit
129ee8ceb5
  1. 3
      designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/cell/SearchDSColumnFormulaAction.java

3
designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/cell/SearchDSColumnFormulaAction.java

@ -58,8 +58,7 @@ public class SearchDSColumnFormulaAction implements SearchCellFormula {
} }
private void addFormulaInfos2ArrayFromResult(ITContent content, DSColumn dsColumn, List<FormulaInfo> formulaInfos) { private void addFormulaInfos2ArrayFromResult(ITContent content, DSColumn dsColumn, List<FormulaInfo> formulaInfos) {
char formulaLabel = '='; if (dsColumn.getResult() != null && dsColumn.getResult().length() > 0) {
if (dsColumn.getResult() != null && dsColumn.getResult().length() > 0 && dsColumn.getResult().charAt(0) == formulaLabel) {
ITContent newContent = ITContent.copy(content); ITContent newContent = ITContent.copy(content);
newContent.setReplaceObject(dsColumn); newContent.setReplaceObject(dsColumn);
//高级-显示值 //高级-显示值

Loading…
Cancel
Save