Commit c6252475 authored by ssarkar's avatar ssarkar

update by sumit on 23/05/13 new_lot__sl validation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@31358 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 921b6782
......@@ -788,15 +788,15 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
{
ArrayList arrayList = checkDuplicaterecord(allFormDataDom);
Set s = new HashSet(arrayList);
Set set = new HashSet(arrayList);
System.out.println("Size of arrayList ["+arrayList.size()+"]");
System.out.println("Size of Set ["+s.size()+"]");
if(s.size() < arrayList.size())
System.out.println("Size of Set ["+set.size()+"]");
if(set.size() < arrayList.size())
{
errList.add( "DUPLOTSLNW" );
errFields.add( childNodeName.toLowerCase() );
}
s.clear();
set.clear();
}
rs.close(); rs =null;
pstmt.close(); pstmt = null;
......@@ -4446,13 +4446,13 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
//System.out.println(" sumit updateFlag ["+updateFlag+"]");
childNodeList = parentNode.getChildNodes();
System.out.println("************* first For loop *************["+ parentNode.getNodeName() + "]");
//System.out.println("************* first For loop *************["+ parentNode.getNodeName() + "]");
for (int col = 0; col < childNodeList.getLength(); col++) {
childNode = childNodeList.item(col);
if (childNode.getNodeType() == childNode.ELEMENT_NODE) {
childNodeName = childNode.getNodeName();
System.out.println("childNodeNamechildNodeName ** ["+childNodeName+"]");
//System.out.println("childNodeNamechildNodeName ** ["+childNodeName+"]");
if ("lot_sl__new".equalsIgnoreCase(childNodeName))
{
if(childNode.getFirstChild() != null)
......
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