/// <summary>
        /// 获取评审人员
        /// </summary>
        /// <param name="BusinessID"></param>
        /// <param name="ThreeLevelCategoryID"></param>
        /// <returns></returns>

        //public List<VAduitUserModel> GetAduitUser(Guid BusinessID, string ThreeLevelCategoryID)
        //{
        //    List<AGroupFrameworkStaffAssignment> AGroups = AGroupFrameworkStaffAssignmentOperator.Instance.GetAStaffAssignmentLisByBusinessID(BusinessID);

        //    List<VAduitUserModel> viewModel = new List<VAduitUserModel>();

        //    var result = from n in AGroups where n.CategoryLevelThreeID.ToString().ToLower() == ThreeLevelCategoryID.ToString().ToLower() && (n.RightsPersonType == 0 || n.RightsPersonType == 1 || n.RightsPersonType == 2) select n;
        //    result.ForEach(p =>
        //    {
        //        var newList = from l in viewModel where l.MembersCTX == p.MembersCTX select l;
        //        if (newList.Count() == 0 || newList == null)
        //        {
        //            VAduitUserModel model = new VAduitUserModel();
        //            model.StaffAssignmentID = p.ID.ToString();
        //            model.MembersCTX = p.MembersCTX;
        //            model.Members = p.Members;
        //            viewModel.Add(model);
        //        }
        //    });
        //    return viewModel;
        //}

        #region 流程操作 暂不支持加签操作
        /// <summary>
        /// 执行流程操作
        /// </summary>
        /// <param name="action"></param>
        /// <param name="businessID"></param>
        /// <param name="currentUser"></param>
        /// <param name="approvalContent"></param>
        /// <returns></returns>
        public string ExecProcess(UserInfo currentUser, string[] uids, SumbitProcessParam SumbitParam)
        {
            string strResult = string.Empty;

            switch (SumbitParam.ButtonMethodName)
            {
            case "ForwardUser":    //2 转发
                strResult = ForwardUser(SumbitParam.requestId, currentUser, SumbitParam.remark, uids);
                break;

            case "UndoSubmit":    //3 撤回
                strResult = UndoSubmit(SumbitParam.requestId, currentUser, SumbitParam.remark);
                break;

            case "AddNode":                                    //5 加签
                strResult = AddNode(currentUser, SumbitParam); // "手机端暂不支持加签操作";
                break;

            case "RejectProcess":    //6 退回 只支持退回到发起节点
                strResult = RejectProcessToStartNode(SumbitParam.requestId, currentUser, SumbitParam.remark, uids);
                break;

            case "SubmitProcess":    //1 提交
            default:
                strResult = SubmitProcess(SumbitParam.requestId, currentUser, SumbitParam.remark);
                break;
            }
            return(strResult);
        }
        public string submitCommonForm(string param)
        {
            B_MonthlyReportAction BRA = new B_MonthlyReportAction();

            BRA.Action       = "开始 submitCommonForm ";
            BRA.Description  = param;
            BRA.Operator     = "MobileCommonWebService.submitCommonForm";
            BRA.OperatorTime = DateTime.Now;
            BRA.IsDeleted    = true;
            B_MonthlyReportActionOperator.Instance.AddMonthlyReportAction(BRA);

            string errMessage = string.Empty;;

            if (base.AuthVerify() == false)
            {
                return(base.authVerifyMessage);
            }

            SumbitProcessParam proParam = Newtonsoft.Json.JsonConvert.DeserializeObject <SumbitProcessParam>(param);

            ErrMessage emResult = new ErrMessage();

            string businessID = proParam.requestId.Split(',')[0];
            string ProType    = proParam.requestId.Split(',')[1];

            string strResult = string.Empty;
            string strAction = string.Empty;

            #region 参数验证
            if (string.IsNullOrEmpty(businessID))
            {
                strResult = "缺少参数:requestId,";
            }
            if (string.IsNullOrEmpty(proParam.userLoginId))
            {
                strResult += "缺少参数:userLoginId,";
            }
            if (string.IsNullOrEmpty(proParam.ButtonMethodName))
            {
                strResult += "缺少参数:action,";
            }
            else
            {
                strAction = proParam.ButtonMethodName;
            }
            if (strResult.Length > 0)
            {
                strResult = strResult.TrimEnd(',');
            }
            #endregion
            else
            {
                string[] uids;
                if (string.IsNullOrEmpty(proParam.uids))
                {
                    uids = new string[] { };
                }
                else
                {
                    uids = proParam.uids.Split(',');
                }



                UserInfo user  = new UserInfo();
                var      vuser = Wanda.SDK.Common.ClientSDKHelper.GetResultContextData <UserSourceSDK.UserInfo>(UserSourceSDK.UserSourceClientSDK.GetUserInfoByUserLoginID(proParam.userLoginId, null));
                if (vuser == null)
                {
                    strResult = "不存在用户:" + proParam.userLoginId;
                }
                else
                {
                    user.UserID          = vuser.UserID;
                    user.UserCode        = vuser.UserCode;//TODO
                    user.UserJobName     = vuser.UserJobName;
                    user.UserLoginID     = vuser.UserLoginID;
                    user.UserName        = vuser.UserName;
                    user.UserOrgID       = vuser.UserOrgID;
                    user.UserOrgPathID   = vuser.UserOrgPathName;
                    user.UserOrgPathName = vuser.UserOrgPathName;

                    MobileServiceBase mobileservice = GetMobileService(businessID, ProType);

                    strResult = mobileservice.ExecProcess(user, uids, proParam);
                }
            }


            if (string.IsNullOrEmpty(strResult))
            {
                emResult.status  = ConstantWS.success;
                emResult.message = ConstantWS.successText;
            }
            else
            {
                emResult.status  = ConstantWS.error;
                emResult.message = strResult;
            }



            BRA.Action          = "结束 submitCommonForm :businessID:" + businessID;
            BRA.Description     = strResult;
            BRA.Operator        = "MobileCommonWebService.submitCommonForm";
            BRA.OperatorTime    = DateTime.Now;
            BRA.IsDeleted       = true;
            BRA.MonthlyReportID = businessID.ToGuid();
            B_MonthlyReportActionOperator.Instance.AddMonthlyReportAction(BRA);

            return(Newtonsoft.Json.JsonConvert.SerializeObject(emResult));
        }
        /// <summary>
        /// 加签
        /// </summary>
        /// <param name="businessID"></param>
        /// <param name="currentUser"></param>
        /// <param name="approvalContent"></param>
        /// <returns></returns>
        public virtual string AddNode(UserInfo currentUser, SumbitProcessParam SumbitParam)
        {
            string strResult = string.Empty;

            return(strResult);
        }