Commit c8269c16 authored by cpatil's avatar cpatil

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91796 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cab7e1ca
......@@ -84,7 +84,7 @@ public class InvHoldRelGen extends ProcessEJB implements InvHoldRelGenLocal, Inv
ResultSet rs1 = null;
PreparedStatement pstmt = null;
StringBuffer retTabSepStrBuff = new StringBuffer();
int cnt=0,count=0;
int cnt=0,count=0,i=5;
String sql="";
String tranIdFrom = "",tranIdTo="",refIdFrom="",refIdTo="",autoConfirmed="",schRelDateFromstr="",schRelDateTostr="";
Timestamp schRelDateFrom=null,schRelDateTo=null;
......@@ -328,12 +328,13 @@ public class InvHoldRelGen extends ProcessEJB implements InvHoldRelGenLocal, Inv
if(refIdFrom != null )
{
pstmt.setString(5,refIdFrom);
pstmt.setString(i,refIdFrom);
i++;
}
if( refIdTo != null)
{
pstmt.setString(6,refIdTo);
pstmt.setString(i,refIdTo);
}
System.out.println("QUERY IS IN PROCESS..........");
......
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