Commit bed6bd49 authored by prumde's avatar prumde

Added thumb_obj, thumb_image_col and thumb_alt_col in filter info

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184338 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c059e76c
...@@ -216,7 +216,7 @@ public class DashboardUtil ...@@ -216,7 +216,7 @@ public class DashboardUtil
// 2. Create Query // 2. Create Query
Query query = session.createSQLQuery(" select scope_name from data_model_input" Query query = session.createSQLQuery(" select scope_name from data_model_input"
+ " where data_model='"+value+"'"); + " where data_model='"+value+"'");
System.out.println("query for getdatmodeldata "+query.getFirstResult()); //System.out.println("query for getdatmodeldata "+query.getFirstResult());
List<String> result= (List<String>)query.list(); List<String> result= (List<String>)query.list();
System.out.println("result for getdatmodeldata "+result); System.out.println("result for getdatmodeldata "+result);
for(String resultFinal: result) { for(String resultFinal: result) {
...@@ -691,6 +691,9 @@ public class DashboardUtil ...@@ -691,6 +691,9 @@ public class DashboardUtil
filter.put("key_string", checkNull(pophelpData.getSqlInput())); filter.put("key_string", checkNull(pophelpData.getSqlInput()));
filter.put("data_model_name", checkNull(pophelpData.getDataModelName())); filter.put("data_model_name", checkNull(pophelpData.getDataModelName()));
filter.put("layout", new JSONObject( pophelpData.getLayout() )); filter.put("layout", new JSONObject( pophelpData.getLayout() ));
filter.put("thumb_obj", checkNull(pophelpData.getThumbObj()));
filter.put("thumb_img_col", checkNull(pophelpData.getThumbImageCol()));
filter.put("thumb_alt_col", checkNull(pophelpData.getThumbAltCol()));
} }
else { else {
filter.put("is_pophelp", false); filter.put("is_pophelp", false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment