diff --git a/src_cmb/com/tenwa/sdk/controller/CmbToPayController.java b/src_cmb/com/tenwa/sdk/controller/CmbToPayController.java index 70b0b1ebe..fdfd85e7f 100644 --- a/src_cmb/com/tenwa/sdk/controller/CmbToPayController.java +++ b/src_cmb/com/tenwa/sdk/controller/CmbToPayController.java @@ -292,7 +292,7 @@ public class CmbToPayController extends BaseFlowStartAction { String account = infoOne.getAttribute("account").toString(); String province = infoOne.getAttribute("provinceInfo").toString(); String city = infoOne.getAttribute("district").toString(); - BizObject bo_lci = JBOFactory.getBizObjectManager(LB_CONTRACT_INFO.CLASS_NAME).createQuery("id=:id").getSingleResult(false); + BizObject bo_lci = JBOFactory.getBizObjectManager(LB_CONTRACT_INFO.CLASS_NAME).createQuery("id=:id").setParameter("id", contract_id).getSingleResult(false); String productId = bo_lci.getAttribute("product_id").toString(); BizObject bo_lpi = JBOFactory.getBizObjectManager(LB_PRODUCTTOCOMPANY_INFO.CLASS_NAME).createQuery("product_id=:product_id").setParameter("product_id", productId).getSingleResult(false); if(bo_lpi!=null&&bo_lpi.getAttribute("product_id")!=null){