Commit 00097747 authored by cpatil's avatar cpatil

added join for indent no


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93644 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 035bd702
...@@ -193,9 +193,10 @@ implements BillofQuantityICLocal, BillofQuantityICRemote ...@@ -193,9 +193,10 @@ implements BillofQuantityICLocal, BillofQuantityICRemote
//end of addition //end of addition
//changes done by cpandey for approved indent no status = 'A' //changes done by cpandey for approved indent no status = 'A'
sql = "select count(*) from indent where status = 'A' and item_code = ?"; sql = "select count(*) from indent where status = 'A' and item_code = ? and indent_no = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itemCode); pstmt.setString(1, itemCode);
pstmt.setString(2, indentNo);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if(rs.next()) if(rs.next())
{ {
......
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