示例#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
文件: test.aspx.cs 项目: JuRogn/OA
 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;
 }
示例#3
0
文件: test.aspx.cs 项目: JuRogn/OA
        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);

        }
示例#4
0
文件: Test2.aspx.cs 项目: JuRogn/OA
 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;
 }
示例#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;
        }
示例#6
0
文件: Test2.aspx.cs 项目: jjg0519/OA
        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;
        }
示例#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);
        }
示例#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;
     }
 }
示例#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;
     }
 }
示例#10
0
文件: Test2.aspx.cs 项目: JuRogn/OA
        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();

            //}
        }
示例#11
0
文件: Test2.aspx.cs 项目: jjg0519/OA
        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();

            //}
        }
示例#12
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();

            //}
        }
示例#13
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();

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

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

            service.CloseBudget();
        }
示例#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);
        }
示例#18
0
文件: test.aspx.cs 项目: JuRogn/OA
 protected void testGetPersonMoneyAssignAA_Click(object sender, EventArgs e)
 {
     FBService s = new FBService();
     s.CreatePersonMoneyAssignInfo(this.inputASSIGNCOMPANYID.Value, this.inputOWNERID.Value, this.inputCreateID.Value);
 }
示例#19
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("手机测试服务操作成功");
        }
示例#20
0
文件: test.aspx.cs 项目: JuRogn/OA
 protected void btnShow0_Click(object sender, EventArgs e)
 {
     FBService service = new FBService();
     service.CloseBudget();
 }