|
|
result = result.updateFields(new String[]{"edrawamount", "creditor", "textcreditor"}, new String[]{"case when vamount!=null then vamount else edrawamount end", "case when vamount is null then creditor else ecreditor end", "case when vamount is null then textcreditor else etextcreditor end"}).select(new String[]{"id", "loantype", "interesttype", "orgid", "orgname", "finproductid", "finproduct", "drawamount", "edrawamount", "contractbillno", "billno", "creditortype", "creditor", "textcreditor", "currency", "currencyname", "startintdate", "expiredate", "startdate", "enddate", "yearrate", "balance", "exchangerate", "converamt", "day", "dayweight", "perpetualbond", "isnofixedterm", "cleardate", "avgamt", "estimatedinterest"});
|