Commit d1f114fd authored by rtiwari's avatar rtiwari

updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96584 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 277be118
...@@ -607,12 +607,14 @@ public class WoIssPartialPrc extends ProcessEJB implements WoIssPartialPrcLocal, ...@@ -607,12 +607,14 @@ public class WoIssPartialPrc extends ProcessEJB implements WoIssPartialPrcLocal,
sql = " update inv_alloc_det set issue_qty = issue_qty + ? , dealloc_qty = dealloc_qty + ? where tran_id in (select tran_id from inv_allocate where work_order = ? ) "+ sql = " update inv_alloc_det set issue_qty = issue_qty + ? , dealloc_qty = dealloc_qty + ? where tran_id in (select tran_id from inv_allocate where work_order = ? ) "+
" and item_code = ? and lot_sl= ? and lot_no = ? and site_code= ? and loc_code = ? "; " and item_code = ? and lot_sl= ? and lot_no = ? and site_code= ? and loc_code = ? ";
pstmt1 = conn.prepareStatement(insertDetail); pstmt1 = conn.prepareStatement(insertDetail);
pstmt1.setString(1,worder); pstmt1.setDouble(1,propReqQty);
pstmt1.setString(2,itemCode); pstmt1.setDouble(2,propReqQty);
pstmt1.setString(3,lotSlInv); pstmt1.setString(3,worder);
pstmt1.setString(4,lotNoInv); pstmt1.setString(4,itemCode);
pstmt1.setString(5,siteCode); pstmt1.setString(5,lotSlInv);
pstmt1.setString(6,locCode); pstmt1.setString(6,lotNoInv);
pstmt1.setString(7,siteCode);
pstmt1.setString(8,locCode);
pstmt1.executeUpdate(); pstmt1.executeUpdate();
pstmt1.close();pstmt1=null; pstmt1.close();pstmt1=null;
} }
......
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