Commit 3277e727 authored by pborate's avatar pborate

Updated changes for wholesaler

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@208349 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ff332732
......@@ -2454,7 +2454,7 @@ public JSONObject getTodaysCallsSummary(String dataSourceName,String loginCode,S
if(sfaParmVal == null || sfaParmVal.length() == 0)
{
sfaParmVal = "D,S,C,U";
sfaParmVal = "D,S,C,U,W";
}
JSONObject visitSummerObj=new JSONObject();
......@@ -2484,6 +2484,15 @@ public JSONObject getTodaysCallsSummary(String dataSourceName,String loginCode,S
visitSummerObj.put("OPTION_VALUE", chmCount);
visitSummeryArray.add(visitSummerObj);
}
if(sfaParmVal.indexOf("W") != -1)
{
String chmCount = visitSummaryMap.get("W");
chmCount = chmCount != null ? chmCount : "0";
visitSummerObj=new JSONObject();
visitSummerObj.put("OPTION_NAME", "Wholesaler");
visitSummerObj.put("OPTION_VALUE", chmCount);
visitSummeryArray.add(visitSummerObj);
}
System.out.println("visitSummeryArray in countOfListedUnlisted 1 "+visitSummeryArray);
......
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