Commit 2a60fc5e authored by ssalve's avatar ssalve

Sarita : Done changes by sarita to user [loginSiteCode,loginCode,loginEmpCode...

Sarita : Done changes by sarita to user [loginSiteCode,loginCode,loginEmpCode and profileId with 0. as sql input in genmst] on 04 OCT 2018

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@191591 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 903b1bcb
......@@ -901,14 +901,31 @@ public class GenVal
//added on 310107
//Done changes by sarita for request id A18ESUN010 => To Set loginCode,loginSiteCode,loginEmpCode & progileId to be used as sql input for generalized validation on 06 SEP 2018<= [START]
System.out.println("Values in HashMap :: ["+xtraparamsValMap+"]");
if((colName != null && colName.trim().length() > 0) && (colName.indexOf( "." ) != -1))
//Added & Commented by sarita for request id A18ESUN010 => on 04 OCT 2018 [START]
//if((colName != null && colName.trim().length() > 0) && (colName.indexOf( "." ) != -1))
if((colName != null && colName.trim().length() > 0) && (colName.indexOf( "." ) == -1))
{
colNameInput = colName.substring( colName.indexOf( "." ) + 1 );
colNameInput = colNameInput.replaceAll( ",", " " );
colNameInput = colNameInput.trim();
System.out.println("colNameInput is ["+colNameInput+"]");
for (String keys : xtraparamsValMap.keySet())
{
if(colNameInput.equalsIgnoreCase(keys))
{
colType = "String";
colValue = xtraparamsValMap.get(keys);
if(colValue == null || colValue.trim().length() == 0)
{
colValue = "";
}
System.out.println("colType ["+colType+"] \t colValue ["+colValue+"]");
isValExistInMap = true;
}
}
}
/*
for (String keys : xtraparamsValMap.keySet())
{
if(colNameInput.equalsIgnoreCase(keys))
......@@ -918,8 +935,8 @@ public class GenVal
System.out.println("colType ["+colType+"] \t colValue ["+colValue+"]");
isValExistInMap = true;
}
}
}*/
//Added & Commented by sarita for request id A18ESUN010 => on 04 OCT 2018 [END]
if(!isValExistInMap)
{
//Done changes by sarita for request id A18ESUN010 => To Set loginCode,loginSiteCode,loginEmpCode & progileId to be used as sql input for generalized validation on 06 SEP 2018<= [END]
......
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