Commit d386d517 authored by ssalve's avatar ssalve

Sarita : Done changes on 13 FEB 2019

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@197058 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 630c6cb0
......@@ -338,8 +338,8 @@ public class IndentConf extends ActionHandlerEJB implements IndentConfLocal, Ind
else
{
errStringXml = new StringBuffer( "" );
}
errString = errStringXml.toString();
}
errString = errStringXml.toString();
}
catch(Exception e)
{
......@@ -565,8 +565,11 @@ public class IndentConf extends ActionHandlerEJB implements IndentConfLocal, Ind
}
}
if(ls_aprvrole.length() == 0)
//Commented and Added by sarita on 13 FEBRUARY 2019 [START]
//if(ls_aprvrole.length() == 0)
if(ls_aprvrole != null && ls_aprvrole.length() > 0)
{
//Commented and Added by sarita on 13 FEBRUARY 2019 [END]
sql = "SELECT COUNT(*) FROM WF_ROLE_USERS WHERE ROLE_CODE = ? AND USERID = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, ls_aprvrole);
......
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