Commit 4d132dbf authored by prane's avatar prane

to get var from err map

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@201293 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 496f3b53
......@@ -12169,9 +12169,19 @@ public class DistCommon {
}
}
else
{
//Pavan R 29may19[to get var from err map] start
System.out.println("exprsEngine varName ["+varName+"]varInpuet["+varInput+"]value["+exprsEngine.get(varInput)+"]");
if(exprsEngine.get(varInput) != null && exprsEngine.get(varInput).toString().length() > 0)
{
exprPsmt.setString(index++, exprsEngine.get(varInput).toString());
}
else
{
exprPsmt.setString(index++, "");
}
//Pavan R end
}
}
exprRs = exprPsmt.executeQuery();
if(exprRs.next())
......@@ -12241,6 +12251,7 @@ public class DistCommon {
errMap.put("error", errCode);
//Pavan Rane 20may19 [to handle exception trace/details in errMap] end
System.out.println("Exception in calcRate-------["+e.getMessage()+"]");
e.printStackTrace();
}
finally
{
......
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