Commit 5ce97a9b authored by kmandhre's avatar kmandhre

bug fix: handle null date (crea_date)


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93849 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 53320d08
...@@ -1161,7 +1161,7 @@ public class StockUpdate ...@@ -1161,7 +1161,7 @@ public class StockUpdate
System.out.println("Query :::- ["+sql+"]"); System.out.println("Query :::- ["+sql+"]");
if(rs.next()) if(rs.next())
{ {
creaDt = rs.getTimestamp(1); creaDt = rs.getTimestamp(1) == null ? this.currDate : rs.getTimestamp(1); //handle null date ,change done by kunal on 07/nov/13
} }
pstmt.close(); pstmt.close();
rs.close(); rs.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