1.修改付款bug

This commit is contained in:
zhangbb 2020-08-31 19:17:39 +08:00
parent 07d66aa4b7
commit c4a73422d3

View File

@ -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){