Mercurial > dive4elements > gnv-client
changeset 84:c8d1f7b9e5a8
Bugfixed in Querypreparation
gnv-artifacts/trunk@114 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Wed, 23 Sep 2009 12:39:48 +0000 (2009-09-23) |
parents | 5c8e54726a58 |
children | dbd141c6bb97 |
files | gnv-artifacts/Changelog gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/Changelog Wed Sep 23 11:57:08 2009 +0000 +++ b/gnv-artifacts/Changelog Wed Sep 23 12:39:48 2009 +0000 @@ -1,3 +1,8 @@ +2009-09-23 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/transition/TransitionBase.java (prepareInputData4DateDBQuery) Edited: + Bug Fixed, now all Inputvalues of String and Date will be put into the Query + 2009-09-23 Tim Englich <tim.englich@intevation.de> * src/main/java/de/intevation/gnv/chart/VerticalProfileChartFactory.java (createXYSeries) Edited:
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java Wed Sep 23 11:57:08 2009 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java Wed Sep 23 12:39:48 2009 +0000 @@ -334,7 +334,7 @@ if (newValue.length() > 0){ newValue= newValue + " , "; } - newValue = "to_date('"+values[0].trim()+"', 'YYYY.MM.DD HH24:MI:SS')"; // TODO JUST HACK FIND A BETTER RESOLUTION + newValue = newValue + "to_date('"+values[i].trim()+"', 'YYYY.MM.DD HH24:MI:SS')"; // TODO JUST HACK FIND A BETTER RESOLUTION } return newValue; } @@ -349,7 +349,7 @@ if (newValue.length() > 0){ newValue= newValue + " , "; } - newValue = "'"+values[0].trim()+"'"; + newValue = newValue + "'"+values[i].trim()+"'"; } return newValue; }