Exemplo n.º 1
0
        /// <summary>
        /// 超过收货时间未收货
        /// </summary>
        public bool UpdateNoDeliverStatus(long UserID, long OrderID)
        {
            //执行事务
            List <object> listOut;

            if (DeleHelpler.RunTrans(SubmitDeliverTrans, new List <object>()
            {
                UserID, OrderID
            }, out listOut))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// 提交支付成功事务
        /// </summary>
        public bool SubmitOrderPay(string PayNo, int PayType, decimal ActualPayAmount)
        {
            List <object> listOut = new List <object>();

            //执行事务
            if (DeleHelpler.RunTrans(SubmitOrderPayTrans, new List <object>()
            {
                PayNo, PayType, ActualPayAmount
            }, out listOut))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 3
0
        /// <summary>
        /// 提交第三方登录注册绑定事务
        /// </summary>
        /// <param name="trans"></param>
        /// <param name="listInput"></param>
        public bool SubmitThirdPartyRegister(string DistributorId, string PrimaryCellPhone, string openid, string Provider, string nickname, int sex, string HeadPic)
        {
            List <object> listOut = new List <object>();

            //执行事务
            if (DeleHelpler.RunTrans(SubmitThirdPartyRegisterTrans, new List <object>()
            {
                DistributorId, PrimaryCellPhone, openid, Provider, nickname, sex, HeadPic
            }, out listOut))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 4
0
        /// <summary>
        /// 更新超过有效时间未支付的订单状态
        /// </summary>
        public bool UpdateNoPayStatus(long UserID, long OrderID, out int count)
        {
            //执行事务
            List <object> listOut;

            count = 0;
            if (DeleHelpler.RunTrans(SubmitCancelTrans, new List <object>()
            {
                UserID, OrderID
            }, out listOut))
            {
                count = (int)listOut[0];
                return(true);
            }
            else
            {
                return(false);
            }
        }