Commit fd2f9f16 authored by sanashaikh's avatar sanashaikh

Sana S: Modified on 31/12/19

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@214356 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b300fc28
...@@ -581,7 +581,8 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal ...@@ -581,7 +581,8 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
System.out.println("minAllowed:::::::"+minAllowed); System.out.println("minAllowed:::::::"+minAllowed);
System.out.println("maxAllowed:::::::"+maxAllowed); System.out.println("maxAllowed:::::::"+maxAllowed);
if(minAllowed < 0 ) //Modified by Sana S on 31/15/19 [start]
/*if(minAllowed < 0 )
{ {
errList.add("VMNUMBER2"); errList.add("VMNUMBER2");
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
...@@ -593,10 +594,16 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal ...@@ -593,10 +594,16 @@ public class LeavesIC extends ValidatorEJB implements LeavesRemote, LeavesLocal
} }
//if (minAllowed > 0 && maxAllowed > 0 && minAllowed > maxAllowed) //if (minAllowed > 0 && maxAllowed > 0 && minAllowed > maxAllowed)
if (minAllowed > maxAllowed) if (minAllowed > maxAllowed)
{
errList.add("VMNUMBER1");
errFields.add(childNodeName.toLowerCase());
}*/
if(minAllowed > 0 && maxAllowed > 0 && minAllowed > maxAllowed)
{ {
errList.add("VMNUMBER1"); errList.add("VMNUMBER1");
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
//Modified by Sana S on 31/15/19 [end]
} }
else if (childNodeName.equalsIgnoreCase("lve_code__convert")) else if (childNodeName.equalsIgnoreCase("lve_code__convert"))
{ {
......
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