Commit 943c2857 authored by cpatil's avatar cpatil

add status = 'M' condition


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99418 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 068f7a45
...@@ -1148,7 +1148,7 @@ public class MrpWizPrsSaveBean ...@@ -1148,7 +1148,7 @@ public class MrpWizPrsSaveBean
System.out.println("workOrderA["+workOrderA+"]"); System.out.println("workOrderA["+workOrderA+"]");
if( workOrderA != null && workOrderA.trim().length() > 0 ) if( workOrderA != null && workOrderA.trim().length() > 0 )
{ {
sql2 = " update workorder set status = 'A' where work_order = ? "; sql2 = " update workorder set status = 'A' where work_order = ? and status = 'M' "; // add and status = 'M' condition on 14/12/15 for update wo of ATP
System.out.println("sql2 :"+sql2 ); System.out.println("sql2 :"+sql2 );
pstmt2 = conn.prepareStatement(sql2); pstmt2 = conn.prepareStatement(sql2);
pstmt2.setString(1,workOrderA); pstmt2.setString(1,workOrderA);
......
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