Beispiel #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("手机测试服务操作成功");
        }
Beispiel #2
0
 protected void btnShow_Click(object sender, EventArgs e)
 {
     FBService fs = new FBService();
     string comID = this.TextBox1.Text;
     string deptID = this.TextBox2.Text;
     var data = fs.FetchSalaryBudget(comID, deptID);
     DataList1.DataSource = data;
 }
Beispiel #3
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            string xml =  TextBox3.Text;
            xml = "<?xml version='1.0' encoding='utf-8' ?>" + xml;
            FBService fs = new FBService();
            fs.UpdateSalaryBudget(xml);

        }
Beispiel #4
0
 protected void btnUpdateOrder_Click(object sender, EventArgs e)
 {
     FBService FBClient = new FBService();
     string strMsg = "成功!";
     // s.UpdateExtensionOrder("Travel", "e8577fe8-7fe6-4e5e-8697-2d00504069b1", "1", ref ms);
     var fbResult = FBClient.UpdateExtensionOrder("Travel", this.txtOrderID.Text,txtCheckState.Text, ref strMsg);
     this.lbMsg.Text = strMsg;
 }
Beispiel #5
0
        protected void btnShow_Click(object sender, EventArgs e)
        {
            FBService fs     = new FBService();
            string    comID  = this.TextBox1.Text;
            string    deptID = this.TextBox2.Text;
            var       data   = fs.FetchSalaryBudget(comID, deptID);

            DataList1.DataSource = data;
        }
Beispiel #6
0
        protected void btnUpdateOrder_Click(object sender, EventArgs e)
        {
            FBService FBClient = new FBService();
            string    strMsg   = "成功!";
            // s.UpdateExtensionOrder("Travel", "e8577fe8-7fe6-4e5e-8697-2d00504069b1", "1", ref ms);
            var fbResult = FBClient.UpdateExtensionOrder("Travel", this.txtOrderID.Text, txtCheckState.Text, ref strMsg);

            this.lbMsg.Text = strMsg;
        }
Beispiel #7
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            string xml = TextBox3.Text;

            xml = "<?xml version='1.0' encoding='utf-8' ?>" + xml;
            FBService fs = new FBService();

            fs.UpdateSalaryBudget(xml);
        }
Beispiel #8
0
 public void EventTriggerProcess(string param)
 {
     try
     {
         Tracer.Debug(string.Format("在{0} 执行预算自动月结", System.DateTime.Now.ToString("yyyy-MM-dd")));
         FBService service = new FBService();
         service.CloseBudget();
     }
     catch (Exception ex)
     {
         Tracer.Error("自动月结执行出错: " + ex.ToString());
         throw ex;
     }
 }
Beispiel #9
0
 public void EventTriggerProcess(string param)
 {
     try
     {
         Tracer.Warn(string.Format("在{0} 执行预算自动月结", System.DateTime.Now.ToString("yyyy-MM-dd")));
         FBService service = new FBService();
         service.CloseBudget();
     }
     catch (Exception ex)
     {
         Tracer.Error("自动月结执行出错: " + ex.ToString());
         throw ex;
     }
 }
Beispiel #10
0
        protected void Page_Load(object sender, EventArgs e)
        {
            return;
            FBService fbsv = new FBService();
            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();

            //}
        }
Beispiel #11
0
        protected void Page_Load(object sender, EventArgs e)
        {
            return;

            FBService fbsv = new FBService();

            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();

            //}
        }
Beispiel #12
0
        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();

            //}
        }
Beispiel #13
0
        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();

            //}
        }
Beispiel #14
0
        protected void Button3_Click(object sender, EventArgs e)
        {
            FBService fs = new FBService();

            fs.CloseBudget();
        }
Beispiel #15
0
 protected void Button3_Click(object sender, EventArgs e)
 {
     
     FBService fs = new FBService();
     fs.CloseBudget();
 }
Beispiel #16
0
        protected void btnShow0_Click(object sender, EventArgs e)
        {
            FBService service = new FBService();

            service.CloseBudget();
        }
Beispiel #17
0
        protected void testGetPersonMoneyAssignAA_Click(object sender, EventArgs e)
        {
            FBService s = new FBService();

            s.CreatePersonMoneyAssignInfo(this.inputASSIGNCOMPANYID.Value, this.inputOWNERID.Value, this.inputCreateID.Value);
        }
Beispiel #18
0
 protected void testGetPersonMoneyAssignAA_Click(object sender, EventArgs e)
 {
     FBService s = new FBService();
     s.CreatePersonMoneyAssignInfo(this.inputASSIGNCOMPANYID.Value, this.inputOWNERID.Value, this.inputCreateID.Value);
 }
Beispiel #19
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("手机测试服务操作成功");
        }
Beispiel #20
0
 protected void btnShow0_Click(object sender, EventArgs e)
 {
     FBService service = new FBService();
     service.CloseBudget();
 }