1.修改生成方案编号时空指针问题。

This commit is contained in:
zhangbb 2019-08-30 15:59:58 +08:00
parent 5b332da3e7
commit 90e6debb2f

View File

@ -65,6 +65,9 @@
if(plannumber==null){
String sSerialType="";
JBOTransaction tx=JBOFactory.createJBOTransaction();
if("ContractApprovalFlow".equals(flowNo)){
calType = "contract_process";
}
if("proj_process".equals(calType)){
BizObject proj=JBOFactory.createBizObjectQuery("jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false);
sSerialType=proj.getAttribute("PROJECT_NO").getString();