Commit fcc27459 authored by caluka's avatar caluka

Ejb updated for GRN Transfer wizard Transaction[D14HFRA001]


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96891 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c2b3e6d7
...@@ -94,14 +94,10 @@ public class GRNTransfWizPos extends ValidatorEJB implements GRNTransfWizPosLoca ...@@ -94,14 +94,10 @@ public class GRNTransfWizPos extends ValidatorEJB implements GRNTransfWizPosLoca
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
//updateSql = "update qc_order set loc_code = null " + "where item_code = ? and lot_no = ? and lot_sl=? ";
updateSql = "update qc_order set loc_code = null " + "where item_code = ? and lot_no = ? "; updateSql = "update qc_order set loc_code = null " + "where item_code = ? and lot_no = ? ";
pstmt = conn.prepareStatement(updateSql); pstmt = conn.prepareStatement(updateSql);
pstmt.setString(1, itemCode); pstmt.setString(1, itemCode);
pstmt.setString(2, lotNoFrom); pstmt.setString(2, lotNoFrom);
//pstmt.setString(3, lotSlFrom);
// pstmt.setString(4, siteCode);
updCnt = pstmt.executeUpdate(); updCnt = pstmt.executeUpdate();
System.out.println("updCnt::[" + updCnt + "]"); System.out.println("updCnt::[" + updCnt + "]");
pstmt.close(); pstmt.close();
......
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