Browse Source

BI-26025 【产品验收】树数据集用作为用户同步数据集结果为空

master
ju 6 years ago
parent
commit
48f3afc99d
  1. 2
      designer-base/src/com/fr/design/data/datapane/preview/PreviewTableModel.java

2
designer-base/src/com/fr/design/data/datapane/preview/PreviewTableModel.java

@ -190,12 +190,14 @@ public class PreviewTableModel extends AbstractTableModel {
s = Inter.getLocText("FR-Designer_Parameter_String"); s = Inter.getLocText("FR-Designer_Parameter_String");
if (!WorkContext.getCurrent().isLocal() && dataModel instanceof EmbeddedTDDataModel) { if (!WorkContext.getCurrent().isLocal() && dataModel instanceof EmbeddedTDDataModel) {
Class clzz = ((EmbeddedTDDataModel) dataModel).getColumnClass(column); Class clzz = ((EmbeddedTDDataModel) dataModel).getColumnClass(column);
if (clzz != null) {
if (Number.class.isAssignableFrom(clzz)) { if (Number.class.isAssignableFrom(clzz)) {
s = Inter.getLocText("FR-Designer_Number");//bigdecimal s = Inter.getLocText("FR-Designer_Number");//bigdecimal
} else if (java.sql.Date.class.isAssignableFrom(clzz)) { } else if (java.sql.Date.class.isAssignableFrom(clzz)) {
s = Inter.getLocText("FR-Designer_Date"); s = Inter.getLocText("FR-Designer_Date");
} }
} }
}
} else if (o instanceof Integer) { } else if (o instanceof Integer) {
s = Inter.getLocText("FR-Designer_Integer"); s = Inter.getLocText("FR-Designer_Integer");
} else if (o instanceof Double || o instanceof Float) { } else if (o instanceof Double || o instanceof Float) {

Loading…
Cancel
Save