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
...@@ -12170,7 +12170,17 @@ public class DistCommon { ...@@ -12170,7 +12170,17 @@ public class DistCommon {
} }
else else
{ {
exprPsmt.setString(index++, ""); //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(); exprRs = exprPsmt.executeQuery();
...@@ -12241,6 +12251,7 @@ public class DistCommon { ...@@ -12241,6 +12251,7 @@ public class DistCommon {
errMap.put("error", errCode); errMap.put("error", errCode);
//Pavan Rane 20may19 [to handle exception trace/details in errMap] end //Pavan Rane 20may19 [to handle exception trace/details in errMap] end
System.out.println("Exception in calcRate-------["+e.getMessage()+"]"); System.out.println("Exception in calcRate-------["+e.getMessage()+"]");
e.printStackTrace();
} }
finally 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