Commit 0991f4a4 authored by dkasliwal's avatar dkasliwal

Solve bug for date parameter to correct date


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101950 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dae3d2ce
......@@ -3,6 +3,7 @@ import ibase.dashboard.Report.Utility.DashboardUtility;
import ibase.system.config.ConnDriver;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
......@@ -14,7 +15,9 @@ import java.util.ArrayList;
import java.util.Calendar;
import java.util.LinkedHashMap;
import java.util.List;
import javax.ejb.Stateless;
import org.json.simple.JSONObject;
@Stateless
......@@ -77,9 +80,7 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
conn = connDriver.getConnectDB(dataSourceName);
connDriver = null;
rowData = new JSONObject();
convertToDbDate = new SimpleDateFormat(genericUtility.getDBDateFormat());
if((fromDate==null) ||(fromDate.equals("")) && (toDate==null) || (toDate.equals("")))
{
simpleDateFormat = new SimpleDateFormat( genericUtility.getApplDateFormat());
......@@ -90,15 +91,24 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
fromDate = simpleDateFormat.format(calendar.getTime());
frmDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
}
else
{
//comment date
//simpleDateFormat = new SimpleDateFormat("dd/MM/yyyy");
simpleDateFormat = new SimpleDateFormat( genericUtility.getApplDateFormat());
/*Comment and change code to date format by Dhanendra on date 16-06-2016*/
/*simpleDateFormat = new SimpleDateFormat( genericUtility.getApplDateFormat());
frmDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
toDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");*/
frmDateInTs= Timestamp.valueOf(genericUtility.getValidDateString(fromDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
toDateInTs= Timestamp.valueOf(genericUtility.getValidDateString(toDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
System.out.println("getPendingReqSummary frmDateInTs :"+frmDateInTs+"----- toDateInTs :"+toDateInTs);
/* For Opening Request * */
if((frmDateInTs!=null && frmDateInTs.toString().length()>0)
&& (toDateInTs!=null && toDateInTs.toString().length()>0)
......@@ -595,11 +605,18 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
{
//comment date
//simpleDateFormat = new SimpleDateFormat("dd/MM/yyyy");
simpleDateFormat = new SimpleDateFormat( genericUtility.getApplDateFormat());
/*Comment and change code to date format by Dhanendra on date 16-06-2016*/
/*simpleDateFormat = new SimpleDateFormat( genericUtility.getApplDateFormat());
frmDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
}
toDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");*/
frmDateInTs= Timestamp.valueOf(genericUtility.getValidDateString(fromDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
toDateInTs= Timestamp.valueOf(genericUtility.getValidDateString(toDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
System.out.println("getPendingReqSummaryGrpah frmDateInTs :"+frmDateInTs +"---- toDateInTs :"+toDateInTs);
/* Foe Opening Request * */
if((frmDateInTs!=null && frmDateInTs.toString().length()>0)
......@@ -619,7 +636,6 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
sql=" select sum (opening_request) as opening_request from (select count(1) opening_request from ser_request " +
" where req_date < ? and emp_code__assign = ? and req_id <>'9999999999' and (comp_stat <> 'C' or " +
" comp_stat_dt >= ?) " +
//" and req_id not like 'CO%' and lower(dtl_descr) not like 'client sup%' AND ITEM_SER <>'TRG'" +
" and REQ_TYPE <> 'GENSUPP' "+
" union all " +
" select count(1) opening_request from service_complaint where TICKET_DATE < ? and submitted_to2 = ? " +
......@@ -665,7 +681,6 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
/* [START] Modify SQL By sachin on 20-JAN-16 For Adding Ticket data*/
sql="select sum(rece_dur_prd) as rece_dur_prd from ( select count(1) as rece_dur_prd from ser_request where req_date between ? and ? and emp_code__assign = ? " +
" and req_id <>'9999999999' and " +
//"req_id not like 'CO%' and lower(dtl_descr) not like 'client sup%' AND ITEM_SER <>'TRG' " +
" REQ_TYPE <> 'GENSUPP' "+
" union all select count(1) as rece_dur_prd from service_complaint " +
" where ticket_date between ? and ? and submitted_to2 = ? )";
......@@ -1077,11 +1092,14 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
}
else
{
frmDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
/*Comment and change code to date format by Dhanendra on date 16-06-2016*/
//frmDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
//toDateInTs = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
frmDateInTs= Timestamp.valueOf(genericUtility.getValidDateString(fromDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
toDateInTs= Timestamp.valueOf(genericUtility.getValidDateString(toDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
dateInpute =" and h.TRAN_DATE >= ? AND h.TRAN_DATE <= ?";
}
System.out.println("getWorkAlloSummary frmDateInTs :"+frmDateInTs +"---- toDateInTs :"+toDateInTs);
if( (empCode!=null && empCode.trim().length()>0) )
{
......@@ -1290,20 +1308,27 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
fromDate = simpleDateFormat.format(calendar.getTime());
fromDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
}
else
{
fromDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
/*Comment and change code for date format by Dhanendra on date 16-06-2016 */
/*fromDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
//simpleDateFormat = new SimpleDateFormat("dd/MM/yyyy");
fromDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
toDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");*/
fromDateInTS= Timestamp.valueOf(genericUtility.getValidDateString(fromDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
toDateInTS= Timestamp.valueOf(genericUtility.getValidDateString(toDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
System.out.println("getReqEfficiencySummary fromDateInTS :"+fromDateInTS+"-------- toDateInTS : "+toDateInTS);
if((fromDateInTS!=null && fromDateInTS.toString().length()>0) && (toDateInTS!=null && toDateInTS.toString().length()>0)
&& (empCode!=null && empCode.trim().length()>0) )
{
/* sql = "SELECT r.comp_stat_dt,r.COMP_STAT,R.REQ_ID,R.DTL_DESCR, AD.ACTION_DETL, E.EMP_FNAME || ' ' || E.EMP_LNAME EMP_NAME, "
+" AD.STD_TIME as STD_TIME ,max((SELECT FN_FEEDBK_TIME(SUM(FD.TIME_SPENT)) FROM SER_REQ_FEEDBKDTL FD, "
+" SER_REQ_FEEDBK FH WHERE FD.FEEDBK_ID = FH.FEEDBK_ID AND FH.REQ_ID = R.REQ_ID "
......@@ -1548,9 +1573,17 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
}
else
{
fromDateInTS =java.sql.Timestamp.valueOf(convrtToTimStmDate.format(originalFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTS=java.sql.Timestamp.valueOf(convrtToTimStmDate.format(originalFormat.parse(toDate)).toString() + " 00:00:00.0");
/*Comment and change code for date format by Dhanendra on date 16-06-2016*/
//fromDateInTS =java.sql.Timestamp.valueOf(convrtToTimStmDate.format(originalFormat.parse(fromDate)).toString() + " 00:00:00.0");
//toDateInTS=java.sql.Timestamp.valueOf(convrtToTimStmDate.format(originalFormat.parse(toDate)).toString() + " 00:00:00.0");
fromDateInTS= Timestamp.valueOf(genericUtility.getValidDateString(fromDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
toDateInTS= Timestamp.valueOf(genericUtility.getValidDateString(toDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
System.out.println("getMissingFDBack fromDateInTS :"+fromDateInTS+"---- toDateInTS :"+toDateInTS);
if((fromDateInTS!=null && fromDateInTS.toString().length()>0)
&& (toDateInTS!=null && toDateInTS.toString().length()>0)
&& (empCode!=null && empCode.trim().length()>0) )
......@@ -1744,11 +1777,18 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
}
else
{
fromDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
/*Comment and change code for date format by Dhanendra on date 16-06-2016*/
/*fromDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
fromDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(fromDate)).toString() + " 00:00:00.0");
toDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");
toDateInTS = java.sql.Timestamp.valueOf(convertToDbDate.format(simpleDateFormat.parse(toDate)).toString() + " 00:00:00.0");*/
fromDateInTS= Timestamp.valueOf(genericUtility.getValidDateString(fromDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
toDateInTS= Timestamp.valueOf(genericUtility.getValidDateString(toDate, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
}
System.out.println("getReqEfficiencySummaryPie fromDateInTS :"+fromDateInTS+"---- toDateInTS :"+toDateInTS);
if((fromDateInTS!=null && fromDateInTS.toString().length()>0) && (toDateInTS!=null && toDateInTS.toString().length()>0)
&& (empCode!=null && empCode.trim().length()>0) )
{
......@@ -1825,6 +1865,13 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
negTimeCtr++;
}
}
if(totDeviation == 0 && totStdTime == 0 && totActTime == 0)
{
}
else
{
rowData = new JSONObject();
rowData.put("tot_deviation", totDeviation);
rowData.put("tot_descr", "Deviation");
......@@ -1848,6 +1895,7 @@ public class ManagmentDashboard implements ManagmentDashboardLocal, ManagmentDas
rowData.put("time_lag_descr", "Before Time");
rowDataEmpReqEffJson.put(Integer.valueOf(count), rowData);
}
}
} catch (Exception e)
{
......
......@@ -2,6 +2,7 @@ package ibase.dashboard.iem.servlet;
import ibase.dashboard.iem.ejb.ManagmentDashboardRemote;
import ibase.system.config.AppConnectParm;
import ibase.utility.UserInfoBean;
import ibase.webitm.utility.ITMException;
import java.io.IOException;
import java.io.OutputStream;
......@@ -28,23 +29,31 @@ public class MissingFDBackServlet extends HttpServlet
ManagmentDashboardRemote mgmDashBoardRmt = null;
InitialContext context = null;
AppConnectParm appConnectParm = new AppConnectParm();
String empCode = "",dataSourceName="",toDate="",fromDate="";
String dataSourceName="",toDate="",fromDate="";
String projectmngr = "";
HttpSession session = null;
UserInfoBean userInfo = null;
try
{
response.setContentType("application/xml");
HttpSession session = request.getSession(true);
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean) session.getAttribute("USER_INFO");
empCode = userInfo.getEmpCode();
//add
//empCode ="BE001";
dataSourceName = request.getParameter("dataSourceName");
fromDate = request.getParameter("frmDate");
toDate = request.getParameter("toDate");
System.out.println( "empCode is =" + empCode );
projectmngr = request.getParameter("PROJECT_MANAGER");
//projectmngr ="BE001";
if (projectmngr == null || projectmngr.trim().length() == 0)
{
session = request.getSession(true);
userInfo = (UserInfoBean) session.getAttribute("USER_INFO");
projectmngr = userInfo.getEmpCode();
}
System.out.println( "projectmngr is =" + projectmngr );
context = new InitialContext(appConnectParm.getProperty());
mgmDashBoardRmt = (ManagmentDashboardRemote)context.lookup("ibase/ManagmentDashboard/remote");
JSONObject jsonObjData = (JSONObject)mgmDashBoardRmt.getMissingFDBack(fromDate,toDate,empCode,dataSourceName);
JSONObject jsonObjData = (JSONObject)mgmDashBoardRmt.getMissingFDBack(fromDate,toDate,projectmngr,dataSourceName);
OutputStream outputStream = response.getOutputStream();
outputStream.write(jsonObjData.toString().getBytes());
outputStream.flush();
......
......@@ -33,27 +33,30 @@ public class PendingReqSummaryGraphServlet extends HttpServlet
String frmDate = "";
String toDate = "";
String projectmngr = "";
//UserInfoBean userInfo = null;
UserInfoBean userInfo = null;
HttpSession session = null;
try
{
System.out.println("in PendingReqSummaryGraphServlet ");
response.setContentType("application/xml");
context = new InitialContext(appConnectParm.getProperty());
frmDate = request.getParameter("frmDate");
toDate = request.getParameter("toDate");
dataSourceName = request.getParameter("dataSourceName");
projectmngr = request.getParameter("PROJECT_MANAGER");
//projectmngr = "BE001";
System.out.println(" projectmngr from drop down is="+projectmngr);
if (projectmngr == null || projectmngr.trim().length()== 0)
{
session = request.getSession(true);
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean) session.getAttribute("USER_INFO");
userInfo = (UserInfoBean) session.getAttribute("USER_INFO");
projectmngr = userInfo.getEmpCode();
}
System.out.println(" projectmngr comming from session ="+projectmngr);
frmDate = request.getParameter("frmDate");
toDate = request.getParameter("toDate");
dataSourceName = request.getParameter("dataSourceName");
System.out.println("projectmngr= " + projectmngr + " from data =" + frmDate + " to date =" + toDate + " projectmngr =" + projectmngr);
System.out.println("projectmngr= " + projectmngr + " from data =" + frmDate + " to date =" + toDate);
context = new InitialContext(appConnectParm.getProperty());
mangmntDashboardRmt = (ManagmentDashboardRemote) context.lookup("ibase/ManagmentDashboard/remote");
JSONObject jsonObjData = (JSONObject) mangmntDashboardRmt.getPendingReqSummaryGrpah(dataSourceName, projectmngr, frmDate, toDate);
......
......@@ -38,9 +38,12 @@ public class PendingReqSummaryServlet extends HttpServlet
{
System.out.println("in PendingReqSummaryServlet ");
response.setContentType("application/xml");
context = new InitialContext(appConnectParm.getProperty());
frmDate = request.getParameter("frmDate");
toDate = request.getParameter("toDate");
dataSourceName = request.getParameter("dataSourceName");
projectmngr = request.getParameter("PROJECT_MANAGER");
//add
//projectmngr ="BE001";
System.out.println(" projectmngr from drop down is="+projectmngr);
if (projectmngr == null || projectmngr.trim().length()== 0)
......@@ -50,11 +53,7 @@ public class PendingReqSummaryServlet extends HttpServlet
projectmngr = userInfo.getEmpCode();
}
System.out.println(" projectmngr comming from session ="+projectmngr);
frmDate = request.getParameter("frmDate");
toDate = request.getParameter("toDate");
dataSourceName = request.getParameter("dataSourceName");
System.out.println("projectmngr= " + projectmngr + " from data =" + frmDate + " to date =" + toDate + " projectmngr =" + projectmngr);
System.out.println("projectmngr= " + projectmngr + " from data =" + frmDate + " to date =" + toDate);
context = new InitialContext(appConnectParm.getProperty());
mangmntDashboardRmt = (ManagmentDashboardRemote) context.lookup("ibase/ManagmentDashboard/remote");
JSONObject jsonObjData = (JSONObject) mangmntDashboardRmt.getPendingReqSummary(dataSourceName, projectmngr, frmDate, toDate);
......
......@@ -40,12 +40,11 @@ public class ReqEfficiencySummaryPieChartServlet extends HttpServlet
{
System.out.println("in ReqEfficiencySummaryPieChartServlet ");
response.setContentType("application/xml");
context = new InitialContext(appConnectParm.getProperty());
frmDate = request.getParameter("frmDate");
toDate = request.getParameter("toDate");
dataSourceName = request.getParameter("dataSourceName");
projectmngr = request.getParameter("PROJECT_MANAGER");
//add
//projectmngr ="BE001";
System.out.println(" projectmngr from drop down is="+projectmngr);
if (projectmngr == null || projectmngr.trim().length() == 0)
......@@ -55,8 +54,7 @@ public class ReqEfficiencySummaryPieChartServlet extends HttpServlet
projectmngr = userInfo.getEmpCode();
}
System.out.println(" projectmngr from session is ="+projectmngr);
System.out.println("projectmngr= "+projectmngr + " from data ="+ frmDate +" to date ="+toDate +" projectmngr ="+projectmngr);
System.out.println("projectmngr= "+projectmngr + " from data ="+ frmDate +" to date ="+toDate);
context = new InitialContext(appConnectParm.getProperty());
mangmntDashboardRmt = (ManagmentDashboardRemote) context.lookup("ibase/ManagmentDashboard/remote");
JSONObject jsonObjData = (JSONObject) mangmntDashboardRmt.getReqEfficiencySummaryPie(dataSourceName, projectmngr, frmDate, toDate);
......
......@@ -40,12 +40,12 @@ public class ReqEfficiencySummaryServlet extends HttpServlet
{
System.out.println("in ReqEfficiencySummaryServlet ");
response.setContentType("application/xml");
context = new InitialContext(appConnectParm.getProperty());
frmDate = request.getParameter("frmDate");
toDate = request.getParameter("toDate");
dataSourceName = request.getParameter("dataSourceName");
projectmngr = request.getParameter("PROJECT_MANAGER");
//add
//projectmngr ="BE001";
System.out.println(" projectmngr from drop down is="+projectmngr);
if (projectmngr == null || projectmngr.trim().length() == 0)
......@@ -55,8 +55,7 @@ public class ReqEfficiencySummaryServlet extends HttpServlet
projectmngr = userInfo.getEmpCode();
}
System.out.println(" projectmngr from session is ="+projectmngr);
System.out.println("projectmngr= "+projectmngr + " from data ="+ frmDate +" to date ="+toDate +" projectmngr ="+projectmngr);
System.out.println("projectmngr= "+projectmngr + " from data ="+ frmDate +" to date ="+toDate);
context = new InitialContext(appConnectParm.getProperty());
mangmntDashboardRmt = (ManagmentDashboardRemote) context.lookup("ibase/ManagmentDashboard/remote");
JSONObject jsonObjData = (JSONObject) mangmntDashboardRmt.getReqEfficiencySummary(dataSourceName, projectmngr, frmDate, toDate);
......
......@@ -35,28 +35,27 @@ public class WorkAlloSummaryServlet extends HttpServlet
String frmDate = "";
String toDate = "";
String projectmngr = "";
UserInfoBean userInfo = null;
HttpSession session = null;
try
{
System.out.println("in WorkAlloSummaryServlet ");
response.setContentType("application/xml");
HttpSession session = request.getSession(true);
context = new InitialContext(appConnectParm.getProperty());
frmDate = request.getParameter("frmDate");
toDate = request.getParameter("toDate");
dataSourceName = request.getParameter("dataSourceName");
projectmngr = request.getParameter("PROJECT_MANAGER");
//add
//projectmngr ="BE001";
System.out.println(" projectmngr from drop down is="+projectmngr);
if (projectmngr == null || projectmngr.trim().length() == 0)
{
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean) session.getAttribute("USER_INFO");
session = request.getSession(true);
userInfo = (UserInfoBean) session.getAttribute("USER_INFO");
projectmngr = userInfo.getEmpCode();
}
System.out.println("projectmngr= "+projectmngr + " from data ="+ frmDate +" to date ="+toDate +" projectmngr ="+projectmngr);
System.out.println("projectmngr= "+projectmngr + " from data ="+ frmDate +" to date ="+toDate);
context = new InitialContext(appConnectParm.getProperty());
mangmntDashboardRmt = (ManagmentDashboardRemote) context.lookup("ibase/ManagmentDashboard/remote");
JSONObject jsonObjData = (JSONObject) mangmntDashboardRmt.getWorkAlloSummary(dataSourceName, projectmngr, frmDate, toDate);
......
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