Commit fc67e82c authored by dpawar's avatar dpawar

changes in sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94586 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5f3f38ae
......@@ -317,7 +317,7 @@ public String process(Document dom, Document dom2, String windowName, String xtr
if("00".equalsIgnoreCase(itemCodeFrm) && "ZZ".equalsIgnoreCase(itemCodeTo))
{
sql="select item_code,quantity,rate,item_ser,lot_no,lot_sl,loc_code from stock "
+ "where site_code = ? and item_ser = ? and quantity > 0 and lot_no is not null and lot_no <> ' ' ";
+ "where site_code = ? and item_ser = ? and lot_no is not null and lot_no <> ' ' ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
pstmt.setString(2, unqItemSer);
......
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