添加非空判断
This commit is contained in:
parent
5652e825b8
commit
ef996081ef
@ -2,12 +2,9 @@ package com.tenwa.lease.flow.contract.commbusiness;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.awe.util.ASResultSet;
|
||||
import com.amarsoft.awe.util.SqlObject;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.amarsoft.context.ASUser;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
|
||||
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO;
|
||||
|
||||
public class LBInitContractStatusBusiness extends BaseBussiness {
|
||||
@ -17,7 +14,7 @@ public class LBInitContractStatusBusiness extends BaseBussiness {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String flowname=(String)this.getAttribute("FlowName");
|
||||
String contractId=this.getAttribute("ContractId").toString();
|
||||
String settletype=this.getAttribute("settletype").toString();
|
||||
String settletype = this.getAttribute("settletype") == null ? null : this.getAttribute("settletype").toString();
|
||||
String contractStatus=this.getAttribute("ContractStatus").toString();
|
||||
String FlowUnid=this.getAttribute("FlowUnid").toString();
|
||||
BizObjectManager bom=JBOFactory.getBizObjectManager(LB_CONTRACT_INFO.CLASS_NAME);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user