Commit 0955dfa8 authored by agaikwad's avatar agaikwad

Added resultset object in sql Query


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101792 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 21dcaa42
...@@ -10730,6 +10730,7 @@ public class FinCommon ...@@ -10730,6 +10730,7 @@ public class FinCommon
sql="select item_ser from item where item_code = ?"; sql="select item_ser from item where item_code = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,siteCodeFrom); pstmt.setString(1,siteCodeFrom);
rs = pstmt.executeQuery();//Added by Abhijit
if(rs.next()){ if(rs.next()){
itemSer=rs.getString(1) ==null ? "" :rs.getString(1).trim(); itemSer=rs.getString(1) ==null ? "" :rs.getString(1).trim();
} }
......
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