Commit 52e469b5 authored by cpatil's avatar cpatil

change GenericUtility to E12GenericUtility


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101125 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 97635041
...@@ -2,7 +2,8 @@ package ibase.webitm.ejb.dis; ...@@ -2,7 +2,8 @@ package ibase.webitm.ejb.dis;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants; import ibase.utility.CommonConstants;
import ibase.webitm.utility.GenericUtility; import ibase.utility.E12GenericUtility;
//import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.io.Serializable; import java.io.Serializable;
...@@ -47,8 +48,9 @@ public class StockHelp implements StockHelpLocal,StockHelpRemote ...@@ -47,8 +48,9 @@ public class StockHelp implements StockHelpLocal,StockHelpRemote
public String getItemDescr(String itemCode) throws ITMException public String getItemDescr(String itemCode) throws ITMException
{ {
String itemDescr = ""; String itemDescr = "";
GenericUtility genericUtility = null; //GenericUtility genericUtility = null;
genericUtility = GenericUtility.getInstance(); //genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
Connection conn = null; Connection conn = null;
...@@ -107,8 +109,9 @@ public class StockHelp implements StockHelpLocal,StockHelpRemote ...@@ -107,8 +109,9 @@ public class StockHelp implements StockHelpLocal,StockHelpRemote
public ArrayList loadData(String lotno,String sitecode,String itemcode) throws ITMException public ArrayList loadData(String lotno,String sitecode,String itemcode) throws ITMException
{ {
GenericUtility genericUtility = null; //GenericUtility genericUtility = null;
genericUtility = GenericUtility.getInstance(); //genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
Connection conn = null; Connection conn = null;
...@@ -219,8 +222,9 @@ public class StockHelp implements StockHelpLocal,StockHelpRemote ...@@ -219,8 +222,9 @@ public class StockHelp implements StockHelpLocal,StockHelpRemote
public ArrayList getDetails(String siteCode, String itemCode) throws ITMException public ArrayList getDetails(String siteCode, String itemCode) throws ITMException
{ {
GenericUtility genericUtility = null; //GenericUtility genericUtility = null;
genericUtility = GenericUtility.getInstance(); //genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
Connection conn = null; Connection conn = null;
...@@ -443,7 +447,8 @@ public class StockHelp implements StockHelpLocal,StockHelpRemote ...@@ -443,7 +447,8 @@ public class StockHelp implements StockHelpLocal,StockHelpRemote
{ {
String s = ""; String s = "";
Timestamp timestamp = null; Timestamp timestamp = null;
GenericUtility genericUtility = GenericUtility.getInstance(); //GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
try try
{ {
java.util.Date date = null; java.util.Date date = null;
......
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