Commit 8ec146c8 authored by sbade's avatar sbade

removed extra space


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99861 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6c363f8a
...@@ -54,8 +54,8 @@ import org.json.simple.JSONObject; ...@@ -54,8 +54,8 @@ import org.json.simple.JSONObject;
context = new InitialContext(appConnectParm.getProperty()); context = new InitialContext(appConnectParm.getProperty());
empEffectivenessRemote = (EmpProductivityRemote)context.lookup("ibase/EmpProductivity/remote"); empEffectivenessRemote = (EmpProductivityRemote)context.lookup("ibase/EmpProductivity/remote");
JSONObject jsonObjData = empEffectivenessRemote.getTopTimeAnalysisServlet(dataSourceName, frDate,toDate, empTask,deptCode,topNos,empCode,usageIntensity,functionType); JSONObject jsonObjData = empEffectivenessRemote.getTopTimeAnalysisServlet(dataSourceName, frDate,toDate, empTask,deptCode,topNos,empCode,usageIntensity,functionType);
/* String jsonObjData1 ="{'0':{'EMP_CODE':'E13279','EMP_NAME':'Swati','tot_time_spent':'10@Swati'},'1':{'EMP_CODE':'E09476 ','EMP_NAME':'Dhanendra ','tot_time_spent':'20@Dhanendra'},'2':{'EMP_CODE':'E09930 ','EMP_NAME':'Sachin ','tot_time_spent':'.01@Sachin'}}";
// String jsonObjData1 ="{'0':{'EMP_CODE':'E13279 ','tot_time_spent':'0'},'1':{'EMP_CODE':'E09476 ','tot_time_spent':'0'},'2':{'EMP_CODE':'E09930 ','tot_time_spent':'.01'},'3':{'EMP_CODE':'E13101 ','tot_time_spent':'.01'},'4':{'EMP_CODE':'E01571 ','tot_time_spent':'.1'},'5':{'EMP_CODE':'E23238 ','tot_time_spent':'.21'},'6':{'EMP_CODE':'E18801 ','tot_time_spent':'.37'},'7':{'EMP_CODE':'E10745 ','tot_time_spent':'.4'},'8':{'EMP_CODE':'E26517 ','tot_time_spent':'.43'},'9':{'EMP_CODE':'E03952 ','tot_time_spent':'.53'},'10':{'EMP_CODE':'E02703 ','tot_time_spent':'.8'},'11':{'EMP_CODE':'E20835 ','tot_time_spent':'.87'},'12':{'EMP_CODE':'E02437 ','tot_time_spent':'.95'},'13':{'EMP_CODE':'E21445 ','tot_time_spent':'1.01'},'14':{'EMP_CODE':'E01736 ','tot_time_spent':'1.38'},'15':{'EMP_CODE':'E04109 ','tot_time_spent':'1.52'},'16':{'EMP_CODE':'E26190 ','tot_time_spent':'2.04'},'17':{'EMP_CODE':'E28515 ','tot_time_spent':'3.38'},'18':{'EMP_CODE':'E03952 ','tot_time_spent':'3.5'},'19':{'EMP_CODE':'E23453 ','tot_time_spent':'3.57'}}"; /*String jsonObjData1="{'0':{'EMP_CODE':'E06293 ','tot_time_spent':'3.35@MATILDA W CASTELINO {br}#Transactions: 69{br}Avg.Total Time:'}}";
OutputStream outputStream = response.getOutputStream(); OutputStream outputStream = response.getOutputStream();
outputStream.write(jsonObjData1.toString().replace('\'', '"').getBytes()); outputStream.write(jsonObjData1.toString().replace('\'', '"').getBytes());
outputStream.flush(); outputStream.flush();
......
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