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