Commit 3f1025e8 authored by mmhatre's avatar mmhatre

added validation for site code exc

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@214439 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bef18719
......@@ -201,7 +201,7 @@ public class SiteIC extends ValidatorEJB implements SiteICLocal, SiteICRemote
errFields.add(childNodeName.toLowerCase());
}
}
else if(childNodeName.equalsIgnoreCase("pay_table"))
else if(childNodeName.equalsIgnoreCase("pay_table")) //N
{
System.out.println(">>>>>>>>>>>pay_table validation:");
payTable = genericUtility.getColumnValue("pay_table", dom);
......@@ -572,6 +572,13 @@ public class SiteIC extends ValidatorEJB implements SiteICLocal, SiteICRemote
errFields.add(childNodeName.toLowerCase());
}
}
//added by manish mhatre on 2-jan-2020
else if(siteCodeExc == null || siteCodeExc.trim().length() == 0)
{
errCode = "VMEXCSTCDN";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
} //end manish
}
}
break; //end case 1 validation.
......@@ -952,6 +959,7 @@ public class SiteIC extends ValidatorEJB implements SiteICLocal, SiteICRemote
return input;
}
private String isExist(String table, String field, String value, Connection conn) throws SQLException
{
String sql = "", retStr = "";
......
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