Commit 7bd00554 authored by kshinde's avatar kshinde

Changed if to while loop


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106377 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b571809c
......@@ -157,7 +157,7 @@ public class ReverseChargeInvoiceGpGen extends ProcessEJB implements ReverseChar
pstmt.setTimestamp(2,frDate);
pstmt.setTimestamp(3,toDate);
rs=pstmt.executeQuery();
if(rs.next())
while(rs.next())
{
tranDt=rs.getString("tran_date");
GPSer=checkNull(rs.getString("gp_ser"));
......@@ -226,7 +226,7 @@ public class ReverseChargeInvoiceGpGen extends ProcessEJB implements ReverseChar
pstmt.setTimestamp(2,frDate);
pstmt.setTimestamp(3,toDate);
rs=pstmt.executeQuery();
if(rs.next())
while(rs.next())
{
tranDt=rs.getString("tran_date");
GPSer=checkNull(rs.getString("gp_ser"));
......@@ -301,7 +301,7 @@ public class ReverseChargeInvoiceGpGen extends ProcessEJB implements ReverseChar
pstmt.setTimestamp(2,frDate);
pstmt.setTimestamp(3,toDate);
rs=pstmt.executeQuery();
if(rs.next())
while(rs.next())
{
tranDt=rs.getString("tran_date");
GPSer=checkNull(rs.getString("gp_ser"));
......@@ -377,7 +377,7 @@ public class ReverseChargeInvoiceGpGen extends ProcessEJB implements ReverseChar
pstmt.setTimestamp(2,frDate);
pstmt.setTimestamp(3,toDate);
rs=pstmt.executeQuery();
if(rs.next())
while(rs.next())
{
tranDt=rs.getString("tran_date");
GPSer=checkNull(rs.getString("gp_ser"));
......
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