public object GetProcessDefinitions([FromUri] ProcessDefModel paramters)
        {
            try
            {
                string billtype = paramters.billtype ?? string.Empty;
                string billcode = paramters.billcode ?? string.Empty;
                string orgid    = paramters.orgid ?? string.Empty;


                WorkFlowBizInfo biz = new WorkFlowBizInfo(billtype, billcode, orgid, string.Empty);
                return(service.GetProcessDefinitionByBizInfo(biz, paramters.userid));
            }
            catch (System.Exception ex)
            {
                return(DCHelper.ErrorMessage(ex.Message));
            }
        }
        public object GetDesignateInfo([FromUri] ProcessDefModel paramters)
        {
            try
            {
                string billtype = paramters.billtype ?? string.Empty;
                string billcode = paramters.billcode ?? string.Empty;
                string pdid     = paramters.pdid ?? string.Empty;

                WorkFlowBizInfo          biz = new WorkFlowBizInfo(billtype, billcode);
                WorkFlowExecutionContext ec  = new WorkFlowExecutionContext(biz);
                ec.PdId     = pdid;
                ec.UserId   = paramters.userid;
                ec.IsMobile = true;
                return(service.GetDynamicInfo(ec, true));
            }
            catch (System.Exception ex)
            {
                return(DCHelper.ErrorMessage(ex.Message));
            }
        }