Commit 885785f8 authored by wansari's avatar wansari

W15GSUN003 updated changes updating pallet_req_det column


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98955 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9b266e7a
......@@ -427,8 +427,19 @@ public class ScheduleAWMSInOutTasks implements Schedule
int caseCount = pstmtUpdate.executeUpdate();
System.out.println("Updated ="+caseCount);
pstmtUpdate.close();pstmtUpdate = null;
if("PR".equalsIgnoreCase(refSer))
{
sqlUpdate = "UPDATE PALLET_REQ_DET SET STATUS = 'V' WHERE REF_ID = ? AND LINE_NO = ?";
pstmtUpdate = conn.prepareStatement(sqlUpdate);
pstmtUpdate.setString(1, refId);
pstmtUpdate.setString(2, lineNoInterface);
caseCount = pstmtUpdate.executeUpdate();
System.out.println("Updated ="+caseCount);
pstmtUpdate.close();pstmtUpdate = null;
}
headerFlag = false;
}
pstmt.close();pstmt = null;
rs.close();rs = null;
......@@ -709,6 +720,16 @@ public class ScheduleAWMSInOutTasks implements Schedule
System.out.println("Updated ="+caseCount);
pstmtUpdate.close();pstmtUpdate = null;
if("PR".equalsIgnoreCase(refSer))
{
sqlUpdate = "UPDATE PALLET_REQ_DET SET STATUS = 'H' WHERE REF_ID = ? AND LINE_NO = ?";
pstmtUpdate = conn.prepareStatement(sqlUpdate);
pstmtUpdate.setString(1, refId);
pstmtUpdate.setString(2, lineNoInterface);
caseCount = pstmtUpdate.executeUpdate();
System.out.println("Updated ="+caseCount);
pstmtUpdate.close();pstmtUpdate = null;
}
headerFlag = false;
}
rsInterface.close();rsInterface = 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