SOURCE

var ArrayList = Java.type('java.util.ArrayList');
var temp = new ArrayList();


if(RTN000A01 != null && RTN000A01.size() > 0) //退件
   {temp = RTN000A01;}

if(RTN000A01 != null && RTN000A01.size() == 0) //非退件
  {
    if(REJ000A01 != null && REJ000A01.size() > 0) //拒贷是否为空
     {

        if(PSP000A01 != null && PSP000A01.size() > 0) //捞回
          {temp=PSP000A01;}

       if(PSP000A01 != null && PSP000A01.size() == 0) //拒贷
           {temp=REJ000A01;}
     }

  }

execution.setVariable("SUM000A03",temp);














console 命令行工具 X clear

                    
>
console