diff --git a/src_tenwa/com/tenwa/lease/flow/contract/commbusiness/LBInitContractStatusBusiness.java b/src_tenwa/com/tenwa/lease/flow/contract/commbusiness/LBInitContractStatusBusiness.java index d1952cd04..77c67b6fe 100644 --- a/src_tenwa/com/tenwa/lease/flow/contract/commbusiness/LBInitContractStatusBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/contract/commbusiness/LBInitContractStatusBusiness.java @@ -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);