Commit 25b546c8 authored by ssalve's avatar ssalve

Sarita: Changes done for line_no on 25 May 2018

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@185505 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b2e0d7df
...@@ -1029,9 +1029,11 @@ conn = getConnection(); ...@@ -1029,9 +1029,11 @@ conn = getConnection();
lineNo = (genericUtility.getValueFromXTRA_PARAMS(xtraParams, "line_no")); lineNo = (genericUtility.getValueFromXTRA_PARAMS(xtraParams, "line_no"));
tranId = genericUtility.getColumnValue("tran_id", dom); tranId = genericUtility.getColumnValue("tran_id", dom);
projectCode = genericUtility.getColumnValue("proj_code", dom); projectCode = genericUtility.getColumnValue("proj_code", dom);
lineNum = Integer.parseInt(lineNo); //Changed by sarita on 25th May 2018 to resolve NumberFormatException [start]
/*lineNum = Integer.parseInt(lineNo);
if(lineNum > 0) if(lineNum > 0)
valueXmlString.append("<line_no>").append("<![CDATA[" + lineNo + "]]>").append("</line_no>"); valueXmlString.append("<line_no>").append("<![CDATA[" + lineNo + "]]>").append("</line_no>");*/
//Changed by sarita on 25th May 2018 to resolve NumberFormatException [end]
valueXmlString.append("<tran_id>").append("<![CDATA[" + tranId + "]]>").append("</tran_id>"); valueXmlString.append("<tran_id>").append("<![CDATA[" + tranId + "]]>").append("</tran_id>");
valueXmlString.append("<proj_code>").append("<![CDATA[" + projectCode + "]]>").append("</proj_code>"); valueXmlString.append("<proj_code>").append("<![CDATA[" + projectCode + "]]>").append("</proj_code>");
} }
......
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