Commit 80a09775 authored by manohar's avatar manohar

SOP removed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96856 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 229b416c
...@@ -895,7 +895,7 @@ public class WorkOrderAmd extends ValidatorEJB implements WorkOrderAmdLocal, W ...@@ -895,7 +895,7 @@ public class WorkOrderAmd extends ValidatorEJB implements WorkOrderAmdLocal, W
calender.add(Calendar.MONTH, (shelfLife - 1)); calender.add(Calendar.MONTH, (shelfLife - 1));
System.out.println("exp date old>>>>>> " + expDateStr ); System.out.println("exp date old>>>>>> " + expDateStr );
System.out.println("exp date calculated>>>>>> " + calender.getTime() ); System.out.println("exp date calculated>>>>>> " + calender.getTime() );
CalcExpiry(java.sql.Timestamp date, double shelfLife)
sql = "select last_day(?) from dual"; sql = "select last_day(?) from dual";
pstmt= conn.prepareStatement(sql); pstmt= conn.prepareStatement(sql);
pstmt.setTimestamp(1,new Timestamp(calender.getTime().getTime())); pstmt.setTimestamp(1,new Timestamp(calender.getTime().getTime()));
......
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