コード例 #1
0
        /// <summary>
        /// 手机审核不通过
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnMobileUnApproved_Click(object sender, EventArgs e)
        {
            string strModelCode = string.Empty, orderID = string.Empty, strCheckStates = string.Empty, strMsg = string.Empty;
            int    i = 0;

            var entityInfo = EntityInfoList.First(item => item.Type == dpdMobileEntityList.SelectedValue);

            strModelCode = entityInfo.Type;

            if (string.IsNullOrWhiteSpace(txtMobileEntityID.Text))
            {
                return;
            }

            orderID        = txtMobileEntityID.Text;
            strCheckStates = ((int)CheckStates.UnApproved).ToString();

            FBService svc = new FBService();

            i = svc.UpdateCheckState(strModelCode, orderID, strCheckStates, ref strMsg);

            if (i < 0)
            {
                Response.Write("手机测试服务操作失败:错误消息为:" + strMsg);
                return;
            }
            Response.Write("手机测试服务操作成功");
        }
コード例 #2
0
ファイル: Test2.aspx.cs プロジェクト: JuRogn/OA
        protected void Page_Load(object sender, EventArgs e)
        {
            //return;
            FBService fbsv = new FBService();
            string msg=string.Empty;
            fbsv.UpdateCheckState("T_FB_DEPTBUDGETSUMMASTER", "36c3f154-64b6-459a-911e-ef6c408b9bc1", "2", ref msg);
            //fbsv.CreatePersonMoneyAssignInfo("bac05c76-0f5b-40ae-b73b-8be541ed35ed", "24a358f9-8539-4faa-aee6-d5cbc8ea450d", "d9d1b478-5e29-435f-bf94-77afc9536d1d");
           
            //FBCommonService fbCommonService = new FBCommonService();
            //EntityInfoList = fbCommonService.GetEntityInfoList();
            
            //if (!IsPostBack)
            //{                
            //    this.ddlOrderType.DataTextField = "Type";
            //    this.ddlOrderType.DataValueField = "Type";
            //    this.ddlOrderType.DataSource = EntityInfoList;
            //    this.DataBind();

            //}
        }
コード例 #3
0
ファイル: Test2.aspx.cs プロジェクト: jjg0519/OA
        protected void Page_Load(object sender, EventArgs e)
        {
            //return;
            FBService fbsv = new FBService();
            string    msg  = string.Empty;

            fbsv.UpdateCheckState("T_FB_DEPTBUDGETSUMMASTER", "36c3f154-64b6-459a-911e-ef6c408b9bc1", "2", ref msg);
            //fbsv.CreatePersonMoneyAssignInfo("bac05c76-0f5b-40ae-b73b-8be541ed35ed", "24a358f9-8539-4faa-aee6-d5cbc8ea450d", "d9d1b478-5e29-435f-bf94-77afc9536d1d");

            //FBCommonService fbCommonService = new FBCommonService();
            //EntityInfoList = fbCommonService.GetEntityInfoList();

            //if (!IsPostBack)
            //{
            //    this.ddlOrderType.DataTextField = "Type";
            //    this.ddlOrderType.DataValueField = "Type";
            //    this.ddlOrderType.DataSource = EntityInfoList;
            //    this.DataBind();

            //}
        }
コード例 #4
0
ファイル: test.aspx.cs プロジェクト: JuRogn/OA
        /// <summary>
        /// 手机审核不通过
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnMobileUnApproved_Click(object sender, EventArgs e)
        {
            string strModelCode = string.Empty, orderID = string.Empty, strCheckStates = string.Empty, strMsg = string.Empty;
            int i = 0;

            var entityInfo = EntityInfoList.First(item => item.Type == dpdMobileEntityList.SelectedValue);
            strModelCode = entityInfo.Type;

            if (string.IsNullOrWhiteSpace(txtMobileEntityID.Text))
            {
                return;
            }

            orderID = txtMobileEntityID.Text;
            strCheckStates = ((int)CheckStates.UnApproved).ToString();

            FBService svc = new FBService();
            i = svc.UpdateCheckState(strModelCode, orderID, strCheckStates, ref strMsg);

            if (i < 0)
            {
                Response.Write("手机测试服务操作失败:错误消息为:" + strMsg);
                return;
            }
            Response.Write("手机测试服务操作成功");
        }