Commit 7ce74215 authored by agaikwad's avatar agaikwad

Bug fix


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105121 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a1ca50e8
...@@ -904,11 +904,34 @@ conn = getConnection(); ...@@ -904,11 +904,34 @@ conn = getConnection();
if(rndAmtTot != 0) if(rndAmtTot != 0)
{ {
cctrcodeRnd = Fcommon.getFinparams("999999","RND_ACCT",conn); cctrcodeRnd = Fcommon.getFinparams("999999","RND_ACCT",conn);
if(cctrcodeRnd != null) /* if(cctrcodeRnd != null)
{ {
String[] arry =this.string2StringArray(cctrcodeRnd , ";"); String[] arry =this.string2StringArray(cctrcodeRnd , ";");
acctRnd = arry[0].toString(); acctRnd = arry[0].toString();
cctrRnd = arry[1].toString(); cctrRnd = arry[1].toString();
}*/
if(cctrcodeRnd != "NULLFOUND")
{
String[] arry =cctrcodeRnd.split((";"));
System.out.println("@@@@@ arry["+arry.length+"]");
if( arry.length > 0)
{
acctRnd = arry[0];
System.out.println("acctRnd["+acctRnd+"]");
}
else
{
acctRnd = "";
}
if( arry.length > 1)
{
cctrRnd = arry[1];
System.out.println("cctrRnd["+cctrRnd+"]");
}
else
{
cctrRnd="";
}
} }
else else
{ {
......
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