package com.tenwa.flow.fund.flowpayment; import jbo.app.tenwa.calc.LC_FUND_INCOME_TEMP; import jbo.com.tenwa.lease.comm.LC_PAY_CONDTION_TEMP; import com.amarsoft.are.jbo.BizObject; import com.amarsoft.are.jbo.BizObjectManager; import com.amarsoft.are.jbo.JBOFactory; import com.amarsoft.are.jbo.JBOTransaction; public class CancelFundPayment { private String planids; private String flowunid; private String equipAmtIDs; public String getEquipAmtIDs() { return equipAmtIDs; } public void setEquipAmtIDs(String equipAmtIDs) { this.equipAmtIDs = equipAmtIDs; } public String getPlanids() { return planids; } public void setPlanids(String planids) { this.planids = planids; } public String getFlowunid() { return flowunid; } public void setFlowunid(String flowunid) { this.flowunid = flowunid; } public String cancelFundPayment(JBOTransaction tx) throws Exception{ try{ BizObjectManager boLFIT = JBOFactory.getBizObjectManager(LC_FUND_INCOME_TEMP.CLASS_NAME); BizObjectManager boLPCT = JBOFactory.getBizObjectManager(LC_PAY_CONDTION_TEMP.CLASS_NAME); tx.join(boLFIT); tx.join(boLPCT); if(planids != null){ String[] ids = planids.split("@"); for(int i=0;i