Browse Source

REPORT-75998 添加注释,修改不合适的API

feature/x
Destiny.Lin 2 years ago
parent
commit
581db160ff
  1. 2
      designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/FormulaReplaceObject.java
  2. 2
      designer-realize/src/main/java/com/fr/design/actions/replace/ui/ITTableButton.java

2
designer-realize/src/main/java/com/fr/design/actions/replace/action/content/formula/FormulaReplaceObject.java

@ -29,6 +29,8 @@ import java.util.List;
import java.util.Map; import java.util.Map;
/** /**
* 公式可能存在的形式
*
* @author Destiny.Lin * @author Destiny.Lin
* @version 11.0 * @version 11.0
* created by Destiny.Lin on 2022-08-25 * created by Destiny.Lin on 2022-08-25

2
designer-realize/src/main/java/com/fr/design/actions/replace/ui/ITTableButton.java

@ -37,7 +37,7 @@ public class ITTableButton extends AbstractCellEditor implements TableCellEditor
@Override @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
ITContent content = (ITContent) getEditTable().getValueAt(getEditTable().getEditingRow(), 7); ITContent content = (ITContent) getEditTable().getValueAt(getEditTable().getEditingRow(), 7);
if (!StringUtils.isEmpty(GeneralUtils.objectToString(content.getTrlString()))) { if (StringUtils.isNotEmpty(GeneralUtils.objectToString(content.getTrlString()))) {
ITReplaceMainDialog.setITReplaceFlag(true); ITReplaceMainDialog.setITReplaceFlag(true);
HistoryTemplateListCache.getInstance().getCurrentEditingTemplate().navigate(new TRL(GeneralUtils.objectToString(content.getTrlString()))); HistoryTemplateListCache.getInstance().getCurrentEditingTemplate().navigate(new TRL(GeneralUtils.objectToString(content.getTrlString())));
} }

Loading…
Cancel
Save