Commit dbe1f239 authored by dkasliwal's avatar dkasliwal

modify if condition for compliance dash board report because low level user is...

modify if condition for compliance dash board report because low level user is login then he display upper level title


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@40691 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 257aa828
...@@ -1642,10 +1642,10 @@ public class GraphComponent extends Composite ...@@ -1642,10 +1642,10 @@ public class GraphComponent extends Composite
repNonReportDash = fetchRowWiseValJsn.get(xAxixNameList.get(0)).toString().replace("\"", "").trim(); repNonReportDash = fetchRowWiseValJsn.get(xAxixNameList.get(0)).toString().replace("\"", "").trim();
if(!repNonReportDash.equals("-")) if(!repNonReportDash.equals("-"))
{ {
if (!"null".equals(groupVal)) groupVal = groupVal.replace('"', ' ');
if (!"null".equalsIgnoreCase(groupVal) && groupVal.trim().length()>0)
{ {
//groupVal = groupVal.replace('"', ' ');
groupVal = groupVal.replace('"', ' ');
groupVal = groupVal +"@"+ designation; groupVal = groupVal +"@"+ designation;
xAxisVal = "" + fetchRowWiseValJsn.get(xAxixNameList.get(0)).toString().replace('"', ' ').trim(); xAxisVal = "" + fetchRowWiseValJsn.get(xAxixNameList.get(0)).toString().replace('"', ' ').trim();
yAxisVal = Integer.parseInt(fetchRowWiseValJsn.get(yAxixNameList.get(0)).toString().replace('"', ' ').trim()); yAxisVal = Integer.parseInt(fetchRowWiseValJsn.get(yAxixNameList.get(0)).toString().replace('"', ' ').trim());
......
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