Commit 6f77fe3b authored by sanashaikh's avatar sanashaikh

Sana S: Modified on 13/11/19

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@211888 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 647ea2ef
......@@ -89,6 +89,7 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal,
int validityPrd = 0;
int cycleTime = 0;
String mtype= "",loginCode="",profileId="";
Date effDate=null,expDate = null;
E12GenericUtility genericUtility = null;
errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
......@@ -370,18 +371,20 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal,
effDateStr = checkNull(genericUtility.getColumnValue("eff_date",dom));
expDateStr = checkNull(genericUtility.getColumnValue("exp_date",dom));
Date effDate = sdf.parse( effDateStr );
Date expDate = sdf.parse( expDateStr );
System.out.println("effDate ::::"+effDate);
System.out.println("expDate ::::"+expDate);
if(expDateStr == null || expDateStr.trim().length() == 0)
{
errCode="VTDATE22";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
else
{
effDate = sdf.parse( effDateStr );
expDate = sdf.parse( expDateStr );
System.out.println("effDate ::::"+effDate);
System.out.println("expDate ::::"+expDate);
}
if(expDate.compareTo(effDate) < 0)
{
......@@ -464,10 +467,10 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal,
errFields.add(childNodeName.toLowerCase());
}
////////added by sana s on 17/10/19 [end]
*/
*/
//Comment by Sana S on 12/11/19 [start]
}
break;
}
}
......
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