更新付款计划

This commit is contained in:
hexiaomou 2018-06-26 11:40:42 +08:00
parent b420d23831
commit 317791fd28

View File

@ -33,6 +33,15 @@ public class ColRelativeInfo {
.setParameter("distributorID", distributorID).getSingleResult(false);
return bo2 != null?bo2.getAttribute("acc_number").getString():"";
}
//根据合同ID获取客户名称
public static String getCustomerNameBycontractID(String contractID) throws JBOException{
BizObject bo = JBOFactory.createBizObjectQuery(LB_UNION_LESSEE.CLASS_NAME,"CONTRACT_ID=:CONTRACT_ID and IS_MAIN='Y'")
.setParameter("CONTRACT_ID", contractID).getSingleResult(false);
return bo != null?bo.getAttribute("customer_name").getString():"";
}
//根据客户ID获取客户名称
public static String getCustNameByCUSTID(String custID) throws JBOException{