Commit 8dc0798f authored by jshaikh's avatar jshaikh

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@180147 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6d6562d1
...@@ -60,9 +60,10 @@ public class ConsumpIssueConfWfEJB extends ActionHandlerEJB implements ConsumpIs ...@@ -60,9 +60,10 @@ public class ConsumpIssueConfWfEJB extends ActionHandlerEJB implements ConsumpIs
retString = wfGenericClass.invokeWorkflow(conn, tranId, xtraParams, "w_consume_issue", "consume_issue"); retString = wfGenericClass.invokeWorkflow(conn, tranId, xtraParams, "w_consume_issue", "consume_issue");
if ("success".equalsIgnoreCase(retString)) if ("success".equalsIgnoreCase(retString))
{ {
sql = "UPDATE CONSUME_ISS SET CONFIRMED = 'Y' WHERE CONS_ISSUE = ? "; sql = "UPDATE CONSUME_ISS SET CONFIRMED = ? WHERE CONS_ISSUE = ? ";
pStmt = conn.prepareStatement(sql); pStmt = conn.prepareStatement(sql);
pStmt.setString(1, tranId); pStmt.setString(1, confirmed);
pStmt.setString(2, tranId);
int updCount = pStmt.executeUpdate(); int updCount = pStmt.executeUpdate();
if (updCount > 0) if (updCount > 0)
......
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