Commit 6d6562d1 authored by jshaikh's avatar jshaikh

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@180146 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 65610a8d
......@@ -11,7 +11,7 @@ import javax.ejb.Stateless;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.dis.wrkflw.GenericWorkflowClass;
import ibase.webitm.ejb.dis.GenericWorkflowClass;
import ibase.webitm.utility.ITMException;
@Stateless
......@@ -63,9 +63,10 @@ public class SContractConfWfEJB extends ActionHandlerEJB implements SContractCon
if ("success".equalsIgnoreCase(retString))
{
sql = "UPDATE SCONTRACT SET CONFIRMED = 'Y' WHERE CONTRACT_NO = ? ";
sql = "UPDATE SCONTRACT SET CONFIRMED = ? WHERE CONTRACT_NO = ? ";
pStmt = conn.prepareStatement(sql);
pStmt.setString(1, tranId);
pStmt.setString(1, confirmed);
pStmt.setString(2, tranId);
int updCount = pStmt.executeUpdate();
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