Commit 71205afc authored by pbhosale's avatar pbhosale

Updated on [ 20-02-2020]

EmployeeEJB.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@216915 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a5c780c4
......@@ -2520,7 +2520,7 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
if(childNodeName.equalsIgnoreCase("pf_perc"))
{
// Modified by Yashwant on 26/06/2019.Start
pfPerc = checkInt(genericUtility.getColumnValue("pf_perc", dom));
pfPerc = genericUtility.getColumnValue("pf_perc", dom);
//pfPerc = genericUtility.getColumnValue("pf_perc", dom);
// Modified by Yashwant on 26/06/2019.End
if(pfPerc == null || Integer.parseInt(pfPerc) < 0 || Integer.parseInt(pfPerc) >100)
......@@ -2555,7 +2555,7 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
if(childNodeName.equalsIgnoreCase("grat_perc"))
{
// Modified by Yashwant on 26/06/2019.Start
gratPerc = checkInt(genericUtility.getColumnValue("grat_perc", dom));
gratPerc = genericUtility.getColumnValue("grat_perc", dom);
//gratPerc = genericUtility.getColumnValue("grat_perc", dom);
// Modified by Yashwant on 26/06/2019.End
if(gratPerc == null || Integer.parseInt(gratPerc) < 0 || Integer.parseInt(gratPerc) >100)
......@@ -2572,7 +2572,7 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
if(childNodeName.equalsIgnoreCase("pen_perc"))
{
// Modified by Yashwant on 26/06/2019.Start
penPerc = checkInt(genericUtility.getColumnValue("pen_perc", dom));
penPerc = genericUtility.getColumnValue("pen_perc", dom);
//penPerc = genericUtility.getColumnValue("pen_perc", dom);
// Modified by Yashwant on 26/06/2019.End
if(penPerc == null || Integer.parseInt(penPerc) < 0 || Integer.parseInt(penPerc) >100)
......@@ -2663,7 +2663,7 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
if(childNodeName.equalsIgnoreCase("print_seq"))
{
// Modified by Yashwant on 26/06/2019.Start
printSeq = checkInt(genericUtility.getColumnValue("print_seq", dom));
printSeq = genericUtility.getColumnValue("print_seq", dom);
//printSeq = genericUtility.getColumnValue("print_seq", dom);
// Modified by Yashwant on 26/06/2019.End
if(printSeq == null || Integer.parseInt(printSeq) < 0)
......@@ -2676,7 +2676,6 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
break;
}
}
}
if(childNodeName.equalsIgnoreCase("perc"))
{
......@@ -2740,7 +2739,6 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
}
}
}
//Added By Poonam B on[30-07-2019][END]
}
break;
......@@ -2752,7 +2750,6 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if(childNode.getFirstChild()!= null)
......@@ -2768,7 +2765,6 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
cnt=isValueExist("training","train_code",trainCode, conn);
if(cnt == 0)
{
errList.add("VMTRG1");
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, "VMTRG1");
......@@ -3003,7 +2999,6 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
}
if(childNodeName.equalsIgnoreCase("from_date"))
{
// Modified by Yashwant on 26/06/2019.Start
fromDate = checkNull(genericUtility.getColumnValue("from_date", dom));
//fromDate = genericUtility.getColumnValue("from_date", dom);
......@@ -3038,7 +3033,7 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
if(childNodeName.equalsIgnoreCase("print_seq"))
{
// Modified by Yashwant on 26/06/2019.Start
printSeq = checkInt(genericUtility.getColumnValue("print_seq", dom));
printSeq = genericUtility.getColumnValue("print_seq", dom);
//printSeq = genericUtility.getColumnValue("print_seq", dom);
// Modified by Yashwant on 26/06/2019.End
if(printSeq == null || Integer.parseInt(printSeq) < 0)
......@@ -3106,7 +3101,6 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if(childNode.getFirstChild()!= null)
......@@ -5957,7 +5951,6 @@ public class EmployeeEJB extends ValidatorEJB implements EmployeeEJBLocal,Employ
valueXmlString.append("<pen_perc protect=\"0\"><![CDATA["+penPerc+"]]></pen_perc>\r\n");
//Modified By Poonam B[13-02-2020][End][To append percentage in edit mode]
}
}
if (currentColumn.equalsIgnoreCase("grat_nominee"))
{
......
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