Commit 0a130803 authored by wansari's avatar wansari

S17BBAS004 updated package name inside source code


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106227 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6fb135d5
package ibase.webitm.ejb.gst; package ibase.webitm.ejb.gstclient;
import ibase.webitm.ejb.*; import ibase.webitm.ejb.*;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
...@@ -15,7 +15,7 @@ import java.util.GregorianCalendar; ...@@ -15,7 +15,7 @@ import java.util.GregorianCalendar;
import org.w3c.dom.*; import org.w3c.dom.*;
@javax.ejb.Stateless @javax.ejb.Stateless
public class GstDataIC extends ValidatorEJB implements GstDataICRemot, GstDataICLocal public class GstDataIC extends ValidatorEJB implements GstDataICRemote, GstDataICLocal
{ {
//E12GenericUtility genericUtility = new E12GenericUtility(); //E12GenericUtility genericUtility = new E12GenericUtility();
GenericUtility genericUtility = new GenericUtility(); GenericUtility genericUtility = new GenericUtility();
...@@ -110,7 +110,7 @@ public class GstDataIC extends ValidatorEJB implements GstDataICRemot, GstDataIC ...@@ -110,7 +110,7 @@ public class GstDataIC extends ValidatorEJB implements GstDataICRemot, GstDataIC
{ {
if (childNode.getFirstChild()==null) if (childNode.getFirstChild()==null)
{ {
errString = getErrorString("prd_code","INVPRD",userID); errString = getErrorString("prd_code","VTBLNKPRD",userID);
break; break;
} }
else else
...@@ -264,7 +264,7 @@ public class GstDataIC extends ValidatorEJB implements GstDataICRemot, GstDataIC ...@@ -264,7 +264,7 @@ public class GstDataIC extends ValidatorEJB implements GstDataICRemot, GstDataIC
monthDate = Timestamp.valueOf(genericUtility.getValidDateString(currDateStr, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0"); monthDate = Timestamp.valueOf(genericUtility.getValidDateString(currDateStr, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
sql = "SELECT TO_CHAR(TO_DATE(CODE,'yyyymm'),'mmyyyy') AS CODE FROM PERIOD WHERE ? BETWEEN FR_DATE AND TO_DATE"; /*sql = "SELECT TO_CHAR(TO_DATE(CODE,'yyyymm'),'mmyyyy') AS CODE FROM PERIOD WHERE ? BETWEEN FR_DATE AND TO_DATE";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, monthDate); pstmt.setTimestamp(1, monthDate);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
...@@ -280,7 +280,7 @@ public class GstDataIC extends ValidatorEJB implements GstDataICRemot, GstDataIC ...@@ -280,7 +280,7 @@ public class GstDataIC extends ValidatorEJB implements GstDataICRemot, GstDataIC
if(pstmt != null) if(pstmt != null)
{ {
pstmt.close();pstmt = null; pstmt.close();pstmt = null;
} }*/
valueXmlString.append("<prd_code>").append("<![CDATA["+prdCode+"]]>").append("</prd_code>"); valueXmlString.append("<prd_code>").append("<![CDATA["+prdCode+"]]>").append("</prd_code>");
valueXmlString.append("<gst_type>").append("").append("</gst_type>"); valueXmlString.append("<gst_type>").append("").append("</gst_type>");
......
package ibase.webitm.ejb.gst; package ibase.webitm.ejb.gstclient;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import ibase.webitm.ejb.*; import ibase.webitm.ejb.*;
......
package ibase.webitm.ejb.gst; package ibase.webitm.ejb.gstclient;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants; import ibase.utility.CommonConstants;
...@@ -141,7 +141,7 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc ...@@ -141,7 +141,7 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc
if(period == null || period.trim().length() == 0) if(period == null || period.trim().length() == 0)
{ {
//retString = itmDBAccessEJB.getErrorString("","INVPRD","","",connLocal); //retString = itmDBAccessEJB.getErrorString("","INVPRD","","",connLocal);
retString = itmDBAccessEJB.getErrorString("","INVPRD","","",connGST); retString = itmDBAccessEJB.getErrorString("","VTBLNKPRD","","",connGST);
return retString; return retString;
} }
else if(period !=null && period.trim().length() > 0) else if(period !=null && period.trim().length() > 0)
......
package ibase.webitm.ejb.gst; package ibase.webitm.ejb.gstclient;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
......
package ibase.webitm.ejb.gst; package ibase.webitm.ejb.gstclient;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
......
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