Commit 2f07eb66 authored by manohar's avatar manohar

bugfix in nfcheckperiod and daysafter methods


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91240 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 88b6e32f
......@@ -72,6 +72,10 @@ public class SysCommon
errCode = "VTPRDT" + fldPart;
}
}
else
{
errCode = "VTPRD2";
}
rs.close();
pstmt.close();
rs = null;
......
......@@ -71,7 +71,7 @@ public class UtilMethods {
date2 = java.sql.Timestamp.valueOf(sdt.format(date2) + " 00:00:00.000");
calen1.setTime(date2);
totDays = (calen.getTime().getTime() - calen1.getTime().getTime()) / (24 * 3600 * 1000);
totDays = (calen1.getTime().getTime() - calen.getTime().getTime()) / (24 * 3600 * 1000);
return totDays;
}
......
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