Commit 8913faaa authored by kmandhre's avatar kmandhre

change in itemchange for station code to


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91724 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f2356253
......@@ -767,6 +767,7 @@ public class DistributionRoute extends ValidatorEJB implements DistributionRoute
pstmt = null;
}
}
valueXmlString.append("<state_code__fr>").append("<![CDATA[" + stateCodeFr +"]]>").append("</state_code__fr>");
valueXmlString.append("<descr_1>").append("<![CDATA[" + stateDescr +"]]>").append("</descr_1>");
valueXmlString.append("<stationa_descr>").append("<![CDATA[" + descr +"]]>").append("</stationa_descr>");
}
......@@ -788,7 +789,7 @@ public class DistributionRoute extends ValidatorEJB implements DistributionRoute
rs = null;
pstmt.close();
pstmt = null;
if(stateCodeFr != null && stateCodeFr.trim().length() > 0)
if(stateCodeTo != null && stateCodeTo.trim().length() > 0)
{
sql = "select descr from state where state_code = ?";
pstmt = conn.prepareStatement(sql);
......@@ -804,6 +805,7 @@ public class DistributionRoute extends ValidatorEJB implements DistributionRoute
pstmt = null;
}
}
valueXmlString.append("<state_code__to>").append("<![CDATA[" + stateCodeTo +"]]>").append("</state_code__to>");
valueXmlString.append("<station_descr_1>").append("<![CDATA[" + descr +"]]>").append("</station_descr_1>");
valueXmlString.append("<descr>").append("<![CDATA[" + stateDescr +"]]>").append("</descr>");
}
......
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