Example #1
0
    void StopLeaseContract(int k2Sn, string instanceID, string formId, string appId)
    {
        BP_LeaseContractInfo model = new BP_LeaseContract().GetLeaseContract(formId);

        if (model != null)
        {
            int result  = 4;
            int bizType = Convert.ToInt16(model.BizType.GetValueOrDefault());
            int bizId   = Convert.ToInt32(model.BizID.GetValueOrDefault());
            new ContractClass().FinishWorkFlow(result, bizType, bizId);
        }
    }