Commit 6552113b authored by agaikwad's avatar agaikwad

Update inv_pack status is X


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100367 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f5f8d9a2
...@@ -53,6 +53,7 @@ public class InvPackPrc extends ActionHandlerEJB implements InvPackPrcLocal,InvP ...@@ -53,6 +53,7 @@ public class InvPackPrc extends ActionHandlerEJB implements InvPackPrcLocal,InvP
ITMDBAccessEJB itmDBAccessEJB = null; ITMDBAccessEJB itmDBAccessEJB = null;
String errString = null; String errString = null;
ResultSet rs1 = null; ResultSet rs1 = null;
int cnt=0;
try try
{ {
itmDBAccessEJB = new ITMDBAccessEJB(); itmDBAccessEJB = new ITMDBAccessEJB();
...@@ -107,6 +108,16 @@ public class InvPackPrc extends ActionHandlerEJB implements InvPackPrcLocal,InvP ...@@ -107,6 +108,16 @@ public class InvPackPrc extends ActionHandlerEJB implements InvPackPrcLocal,InvP
pstmt = null; pstmt = null;
rs1.close(); rs1.close();
rs1 = null; rs1 = null;
System.out.println("Tran_id"+tranId);
sql1 = "update inv_pack set status = ? where tran_id = ?";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1,"X");
pstmt1.setString(2,tranId);
cnt=pstmt1.executeUpdate();
System.out.println("@@@@@@@@@ Update Invpackprc:[" + cnt + "]");
pstmt1.close();
pstmt1 = null;
} }
else else
{ {
......
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