Exemple #1
0
 protected void Button3_Click(object sender, EventArgs e)
 {
     int[] serialids = new int[] { Globals.ToNum(this.hSerialID.Value) };
     if (serialids[0] != 0)
     {
         switch (MemberAmountProcessor.GetAmountRequestStatus(serialids[0]))
         {
         case -1:
         case 2:
             this.ShowMsg("当前项数据不可以驳回,操作终止!", false);
             return;
         }
         if (MemberAmountProcessor.SetAmountRequestStatus(serialids, -1, this.SignalrefuseMks.Text, "", ManagerHelper.GetCurrentManager().UserName))
         {
             this.UpdateNotify("申请提现驳回");
             this.ShowMsg("申请已驳回!", true);
             this.LoadParameters();
             this.BindData();
         }
         else
         {
             this.ShowMsg("申请驳回失败,请再次尝试", false);
         }
     }
 }
 protected void Button3_Click(object sender, System.EventArgs e)
 {
     int[] array = new int[]
     {
         Globals.ToNum(this.hSerialID.Value)
     };
     if (array[0] != 0)
     {
         int amountRequestStatus = MemberAmountProcessor.GetAmountRequestStatus(array[0]);
         if (amountRequestStatus == -1 || amountRequestStatus == 2)
         {
             this.ShowMsg("当前项数据不可以驳回,操作终止!", false);
             return;
         }
         if (MemberAmountProcessor.SetAmountRequestStatus(array, -1, this.SignalrefuseMks.Text, "", ManagerHelper.GetCurrentManager().UserName))
         {
             this.UpdateNotify("申请提现驳回");
             this.ShowMsg("申请已驳回!", true);
             this.LoadParameters();
             this.BindData();
             return;
         }
         this.ShowMsg("申请驳回失败,请再次尝试", false);
     }
 }