Commit a788b44a authored by sanashaikh's avatar sanashaikh

Sana S : Modified on 30/10/19

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@210674 ce508802-f39f-4f6c-b175-0d175dae99d5
parent be15218e
......@@ -324,7 +324,7 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal,
{
mval = checkNull(genericUtility.getColumnValue("ad_code",dom));
mval1 = checkNull(genericUtility.getColumnValue("ad_code__main",dom));
cycleStart=Integer.parseInt(checkNull(genericUtility.getColumnValue("cycle_start", dom)));
cycleStart=Integer.parseInt(checkInt(genericUtility.getColumnValue("cycle_start", dom)));
if(mval.equals(mval1))
{
if(cycleStart < 0 || cycleStart > 12 || cycleStart == 0)
......@@ -340,7 +340,7 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal,
{
mval = checkNull(genericUtility.getColumnValue("ad_code",dom));
mval1 = checkNull(genericUtility.getColumnValue("ad_code__main",dom));
cycleEnd=Integer.parseInt(checkNull(genericUtility.getColumnValue("cycle_end", dom)));
cycleEnd=Integer.parseInt(checkInt(genericUtility.getColumnValue("cycle_end", dom)));
if(mval.equals(mval1))
{
if(cycleEnd < 0 || cycleEnd > 12 || cycleEnd == 0)
......@@ -678,7 +678,7 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal,
proccFor=sdf.parse(lastProcFor);
System.out.println("proccFor"+proccFor);
cycleTime=Integer.parseInt(checkNull(genericUtility.getColumnValue("cycle_time", dom)));
cycleTime=Integer.parseInt(checkInt(genericUtility.getColumnValue("cycle_time", dom)));
nextProcDate=utilMethods.AddMonths(proccFor, cycleTime);
nextProcDate1=sdf.format(nextProcDate);
......@@ -690,7 +690,7 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal,
lastProcFor=checkNull(genericUtility.getColumnValue("last_proc_for", dom));
proccFor=sdf.parse(lastProcFor);
cycleTime=Integer.parseInt(checkNull(genericUtility.getColumnValue("cycle_time", dom)));
cycleTime=Integer.parseInt(checkInt(genericUtility.getColumnValue("cycle_time", dom)));
nextProcDate=utilMethods.AddMonths(proccFor, cycleTime);
nextProcDate1 =sdf.format(nextProcDate);
......
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