apzl_leasing/src_tenwa/com/tenwa/customer/handler/group/CustomerGroupCompanyHandler.java
2018-06-28 17:32:03 +08:00

19 lines
644 B
Java

package com.tenwa.customer.handler.group;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.are.jbo.JBOTransaction;
import com.amarsoft.awe.dw.handler.impl.CommonHandler;
import com.tenwa.util.SerialNumberUtil;
public class CustomerGroupCompanyHandler extends CommonHandler{
@Override
protected void initDisplayForAdd(BizObject bo) throws Exception {
JBOTransaction tx = JBOFactory.createJBOTransaction();
String groupCompanyNumber = SerialNumberUtil.getGroupCompanyNumber(tx);
tx.commit();
// bo.setAttributeValue("group_no", groupCompanyNumber);
super.initDisplayForAdd(bo);
}
}