Commit 61360648 authored by cpatil's avatar cpatil

remove sop


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92317 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 117caeb7
......@@ -1147,25 +1147,7 @@ public class StockUpdate
}
}
//
sql="select count(1) from stock where item_code= ? and site_code = ? and loc_code= ? and lot_no = ? and lot_sl = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,this.itemCode);
pstmt.setString(2,this.siteCode);
pstmt.setString(3,this.locationCode);
pstmt.setString(4,this.lotNo);
pstmt.setString(5,this.lotSl);
rs = pstmt.executeQuery();
if(rs.next())
{
int cnt5 = rs.getInt(1);
System.out.println("tets ::cnt 5 ::::"+cnt5);
}
pstmt.close();
rs.close();
//
sql="insert into stock "
+" (item_code , site_code, loc_code,"
+" lot_no, lot_sl, unit,"
......
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