package com.tenwa.cgb.handler; import com.amarsoft.are.jbo.BizObject; import com.amarsoft.are.jbo.JBOTransaction; import com.amarsoft.awe.dw.handler.impl.CommonHandler; import com.amarsoft.awe.util.SqlObject; import com.amarsoft.awe.util.Transaction; public class BusinessPaymentInfoHandler extends CommonHandler { @Override protected void afterUpdate(JBOTransaction tx, BizObject bo) throws Exception { String flowunid = bo.getAttribute("flowunid").getString(); Transaction sqlca = Transaction.createTransaction(tx); sqlca.executeSQL(new SqlObject("update LC_FUND_INCOME_TEMP t1 JOIN LB_ACTUAL_PAYMENT_INFO_TEMP t2 on t1.flowunid = t2.flowunid " + " set t1.account=t2.account,t1.acc_number=t2.acc_number,t1.bank=t2.bank where t2.flowunid =:flowunid ").setParameter("flowunid", flowunid)); } }