Commit d71d4c38 authored by jshinde's avatar jshinde

Request W15GSUN001,Create transaction screen Pallet Request .


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98912 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5a3dabc1
...@@ -61,7 +61,6 @@ public class PalletReqConf extends ActionHandlerEJB implements PalletReqConfLoca ...@@ -61,7 +61,6 @@ public class PalletReqConf extends ActionHandlerEJB implements PalletReqConfLoca
System.out.println("PalletReqConf Called........"); System.out.println("PalletReqConf Called........");
boolean isError = false; boolean isError = false;
int updCnt = 0;
String confirmed = ""; String confirmed = "";
String sql = ""; String sql = "";
ResultSet rs = null; ResultSet rs = null;
...@@ -164,7 +163,6 @@ public class PalletReqConf extends ActionHandlerEJB implements PalletReqConfLoca ...@@ -164,7 +163,6 @@ public class PalletReqConf extends ActionHandlerEJB implements PalletReqConfLoca
rs.close(); rs.close();
pstmt.close(); pstmt.close();
sql="SELECT PALLET_NO ,LINE_NO FROM PALLET_REQ_DET WHERE TRAN_ID=?"; sql="SELECT PALLET_NO ,LINE_NO FROM PALLET_REQ_DET WHERE TRAN_ID=?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,tranId ); pstmt.setString(1,tranId );
...@@ -261,8 +259,6 @@ public class PalletReqConf extends ActionHandlerEJB implements PalletReqConfLoca ...@@ -261,8 +259,6 @@ public class PalletReqConf extends ActionHandlerEJB implements PalletReqConfLoca
return errString; return errString;
} }
private String checkNullAndTrim( String inputVal ) private String checkNullAndTrim( String inputVal )
{ {
if ( inputVal == null ) if ( inputVal == null )
......
...@@ -90,8 +90,6 @@ public class PalletReqExpiryAct extends ActionHandlerEJB implements PalletReqExp ...@@ -90,8 +90,6 @@ public class PalletReqExpiryAct extends ActionHandlerEJB implements PalletReqExp
pstmt.setString(2, "EXP_LOCK"); pstmt.setString(2, "EXP_LOCK");
pstmt.setString(3, "AWMS"); pstmt.setString(3, "AWMS");
pstmt.setString(4, siteCode); pstmt.setString(4, siteCode);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
while(rs.next()) while(rs.next())
...@@ -114,7 +112,6 @@ public class PalletReqExpiryAct extends ActionHandlerEJB implements PalletReqExp ...@@ -114,7 +112,6 @@ public class PalletReqExpiryAct extends ActionHandlerEJB implements PalletReqExp
xmlString.append("</Root>"); xmlString.append("</Root>");
rs.close(); rs.close();
pstmt.close(); pstmt.close();
} }
catch (SQLException sqx) catch (SQLException sqx)
{ {
...@@ -176,7 +173,6 @@ public class PalletReqExpiryAct extends ActionHandlerEJB implements PalletReqExp ...@@ -176,7 +173,6 @@ public class PalletReqExpiryAct extends ActionHandlerEJB implements PalletReqExp
xmlString.append("</Root>"); xmlString.append("</Root>");
rs.close(); rs.close();
pstmt.close(); pstmt.close();
} }
catch (SQLException sqx) catch (SQLException sqx)
{ {
......
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