Commit 8e6c2d09 authored by jshaikh's avatar jshaikh

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@180225 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 88d23a5e
......@@ -63,7 +63,7 @@ public class ConsumpIssueConfWfEJB extends ActionHandlerEJB implements ConsumpIs
sql = "UPDATE CONSUME_ISS SET SET conf_date = sysdate WHERE CONS_ISSUE = ? ";
pStmt = conn.prepareStatement(sql);
//pStmt.setString(1, confirmed);
pStmt.setString(2, tranId);
pStmt.setString(1, tranId);
int updCount = pStmt.executeUpdate();
if (updCount > 0)
......
......@@ -63,10 +63,10 @@ public class SContractConfWfEJB extends ActionHandlerEJB implements SContractCon
if ("success".equalsIgnoreCase(retString))
{
sql = "UPDATE SCONTRACT SET CONFIRMED = ? WHERE CONTRACT_NO = ? ";
sql = "UPDATE SCONTRACT SET SET conf_date = sysdate WHERE CONTRACT_NO = ? ";
pStmt = conn.prepareStatement(sql);
pStmt.setString(1, confirmed);
pStmt.setString(2, tranId);
//pStmt.setString(1, confirmed);
pStmt.setString(1, tranId);
int updCount = pStmt.executeUpdate();
if (updCount > 0)
......
......@@ -55,9 +55,11 @@ public class SalesContractConfWF
conn.commit();
retString = "Y";
}
conn.rollback();
retString = "N";
else
{
conn.rollback();
retString = "N";
}
}
}
......
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