Commit 290b91ec authored by pbhosale's avatar pbhosale

Updated on [21-02-2020]

EmployeeEJB.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@216951 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 159e91de
......@@ -2426,10 +2426,7 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
retirementDate1= sdf.parse(retirementDate);
}
//Added by Poonam B on[16.07.2019].END.to check date format
//Modified By Poonam B[26-12-2019][START]
//if(birthDate1 != null && retirementDate1 != null && retirementDate1.before(birthDate1))
if(birthDate1 != null && retirementDate1 != null && retirementDate1.after(birthDate1))
//Modified By Poonam B[26-12-2019][END]
if(birthDate1 != null && retirementDate1 != null && retirementDate1.before(birthDate1))
{
errList.add("VMEMPRET02");
errFields.add(childNodeName.toLowerCase());
......
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