package com.tenwa.loan.action; import jbo.loan.LOAN_BILL_INFO; import com.amarsoft.are.jbo.JBOException; import com.amarsoft.are.jbo.JBOFactory; import com.amarsoft.are.jbo.JBOTransaction; public class LoanBillHire { public String billid; public void billHire(JBOTransaction tx) throws JBOException{ JBOFactory.createBizObjectQuery(LOAN_BILL_INFO.CLASS_NAME,"update O set AUDIT_STATUS='ÒѺËÏú' where id=:billid").setParameter("billid", this.billid).executeUpdate(); } public void billHireRollBack(JBOTransaction tx) throws JBOException{ JBOFactory.createBizObjectQuery(LOAN_BILL_INFO.CLASS_NAME,"update O set AUDIT_STATUS='δºËÏú' where id=:billid").setParameter("billid", this.billid).executeUpdate(); } public String getBillid() { return billid; } public void setBillid(String billid) { this.billid = billid; } }