商务条件页面报错

This commit is contained in:
zhouyahui 2018-11-07 09:58:24 +08:00
parent 8140fb6346
commit 7b3ba8c756

View File

@ -112,7 +112,7 @@
BizObject bo = JBOFactory.createBizObjectQuery(BUSINESS_TYPE.CLASS_NAME,"typeno=:productID")
.setParameter("productID", productId).getSingleResult(false);
String productName = (bo==null)?"":bo.getAttribute("typename").getString();
//非车辆产品,融资额可编辑
String productType = Sqlca.getString(new SqlObject("select attribute2 from business_type where typeno='"+productId+"'"));
if("car_product".equals(productType)){
@ -131,9 +131,9 @@
doTemp.setDefaultValue("flowunid", flowunid);
doTemp.setDefaultValue("PRODUCT_NAME", productName);
doTemp.appendJboWhere(" and "+planCName+"='"+plannumber+"'");
if(null!=ishistory&&ishistory.equals("true")){
/* if(null!=ishistory&&ishistory.equals("true")){ --这个是插入到历史表中的每一步数据。
doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcCondtionInfoArachiveShow");//如果是历史则新显示历史数据
}
} */
/*设置模板属性*/
/*设置页面属性*/