fixes bug#6777
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@49514 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0372153197
commit
67fed4acda
|
@ -32,9 +32,11 @@ public class DataSource implements IDataSource {
|
||||||
@Override
|
@Override
|
||||||
public Object getFieldValue(JRField field) throws JRException {
|
public Object getFieldValue(JRField field) throws JRException {
|
||||||
try {
|
try {
|
||||||
return this.resultSet.getObject(field.getName());
|
Object valueCustomField = this.valueCustomFields(field.getName());
|
||||||
|
|
||||||
|
return (valueCustomField != null) ? valueCustomField : this.resultSet.getObject(field.getName());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("", e);
|
e.printStackTrace();
|
||||||
throw new JRException(e);
|
throw new JRException(e);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -61,4 +63,9 @@ public class DataSource implements IDataSource {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Object valueCustomFields(String fieldName) throws Exception {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue