public void OperationBusiness(string billNo) { try { ITrainPlanCollect serviceCollect = Service_Peripheral_HR.ServerModuleFactory.GetServerModule <ITrainPlanCollect>(); IFlowServer serviceFlow = FlowControlService.ServerModuleFactory.GetServerModule <IFlowServer>(); if (serviceFlow.GetNextBillStatus(billNo) == CE_CommonBillStatus.单据完成.ToString()) { serviceCollect.GenerateCollectPlan_Temp(billNo); } } catch (Exception ex) { throw new Exception(ex.Message); } }