Commit 8f3f9ae7 authored by manohar's avatar manohar

site_code ovewritten with item_code after retrieve - corrected


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93073 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5f99de80
...@@ -82,13 +82,19 @@ ...@@ -82,13 +82,19 @@
if ( paramvalue.indexOf("~") != -1 ) if ( paramvalue.indexOf("~") != -1 )
{ {
paramList = paramvalue.split("~"); paramList = paramvalue.split("~");
if (siteCode == null || siteCode.trim().length() ==0 )
{
siteCode = paramList[0]; siteCode = paramList[0];
itemCode = paramList[1];
} }
else if (itemCode == null || itemCode.trim().length() ==0 )
{ {
siteCode = paramvalue; itemCode = paramList[1];
}
} }
//else
//{
// siteCode = paramvalue;
//}
System.out.println("siteCode 2[" + siteCode + "]"); System.out.println("siteCode 2[" + siteCode + "]");
System.out.println("itemCode 2[" + itemCode + "]"); System.out.println("itemCode 2[" + itemCode + "]");
itemDescr = stkHlpBn.getItemDescr(itemCode); itemDescr = stkHlpBn.getItemDescr(itemCode);
......
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