1-method-choosing #2
@ -73,7 +73,8 @@ public class IndexController {
|
|||||||
if (chartForm.getTimeSeriesMeta() != null
|
if (chartForm.getTimeSeriesMeta() != null
|
||||||
&& chartForm.getTimeSeriesMeta().getKey() != null
|
&& chartForm.getTimeSeriesMeta().getKey() != null
|
||||||
&& !chartForm.getTimeSeriesMeta().getKey().isEmpty()
|
&& !chartForm.getTimeSeriesMeta().getKey().isEmpty()
|
||||||
&& chartForm.getMethodClassName() != null) {
|
&& chartForm.getMethodClassName() != null
|
||||||
|
&& !chartForm.getMethodClassName().equals("")) {
|
||||||
addChartToModel(dbService.getTimeSeries(chartForm.getSet(), chartForm.getTimeSeriesMeta().getKey()), chartForm.getMethodClassName(), model);
|
addChartToModel(dbService.getTimeSeries(chartForm.getSet(), chartForm.getTimeSeriesMeta().getKey()), chartForm.getMethodClassName(), model);
|
||||||
}
|
}
|
||||||
return "method";
|
return "method";
|
||||||
|
Loading…
Reference in New Issue
Block a user