コード例 #1
0
        public override void Insert(WalletStatement statement)
        {
            var merchantWalletStatement = new MerchantWalletStatement
            {
                Action    = statement.Action,
                Amount    = statement.Amount,
                Balance   = statement.Balance,
                Remark    = statement.Remark,
                Timestamp = statement.Timestamp,
                WalletId  = statement.WalletId
            };

            new MerchantWalletStatementDAC().Insert(merchantWalletStatement);
        }
コード例 #2
0
        public override void Insert(WalletStatement statement)
        {
            var userWalletStatement = new UserWalletStatement
            {
                Action        = statement.Action,
                Amount        = statement.Amount,
                Balance       = statement.Balance,
                FrozenAmount  = statement.FrozenAmount,
                FrozenBalance = statement.FrozenBalance,
                Remark        = statement.Remark,
                Timestamp     = statement.Timestamp,
                WalletId      = statement.WalletId
            };

            new UserWalletStatementDAC().Insert(userWalletStatement);
        }
コード例 #3
0
 public abstract void Insert(WalletStatement statement);