Exemplo n.º 1
0
        public static bool SetBalanceDrawRequestIsCheckStatus(int[] serialids, int checkValue, string Remark = null, string Amount = null)
        {
            bool flag = new DistributorsDao().SetBalanceDrawRequestIsCheckStatus(serialids, checkValue, Remark, Amount);

            if (flag && checkValue == -1)
            {
                try
                {
                    for (int i = 0; i < serialids.Length; i++)
                    {
                        int num = serialids[i];
                        BalanceDrawRequestInfo balanceDrawRequestById = DistributorsBrower.GetBalanceDrawRequestById(num.ToString());
                        if (balanceDrawRequestById != null)
                        {
                            Messenger.SendWeiXinMsg_DrawCashReject(balanceDrawRequestById);
                        }
                    }
                }
                catch (Exception var_3_6E)
                {
                }
            }
            return(flag);
        }