From fb245f04af0c848128da7d14c61694736b4afde7 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 20 十一月 2025 14:50:46 +0800
Subject: [PATCH] Merge branch 'dev-818-3.4.2.12' of http://120.26.58.240:8888/r/ApiTools into dev-818-3.4.2.12

---
 ApiTools.Core/Models/ChannelWallets/Queries/GetChannelWalletTransactionsQuery.cs |  208 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 208 insertions(+), 0 deletions(-)

diff --git a/ApiTools.Core/Models/ChannelWallets/Queries/GetChannelWalletTransactionsQuery.cs b/ApiTools.Core/Models/ChannelWallets/Queries/GetChannelWalletTransactionsQuery.cs
new file mode 100644
index 0000000..d89ba72
--- /dev/null
+++ b/ApiTools.Core/Models/ChannelWallets/Queries/GetChannelWalletTransactionsQuery.cs
@@ -0,0 +1,208 @@
+锘縰sing MediatR;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ApiTools.Core
+{
+    /// <summary>
+    /// 鏌ヨ娓犻亾閽卞寘浜ゆ槗璇︽儏
+    /// </summary>
+    [Resource([EnumResourceController.UserServerChannelWallet], Method = EnumResourceMethod.Post)]
+    public class GetChannelWalletTransactionsQuery : IRequest<GetChannelWalletTransactionsQueryResult>
+    {
+        /// <summary>
+        /// 澶栭儴璁㈠崟鍙�
+        /// </summary>
+        public List<string> OutCodes { get; set; } = [];
+    }
+
+    /// <summary>
+    /// 鏌ヨ娓犻亾閽卞寘浜ゆ槗璇︽儏
+    /// </summary>
+    public class GetChannelWalletTransactionsQueryResult
+    {
+        /// <summary>
+        /// 椤�
+        /// </summary>
+        public List<GetChannelWalletTransactionsQueryResultItem> Items { get; set; } = [];
+    }
+
+    /// <summary>
+    /// 鏌ヨ娓犻亾閽卞寘浜ゆ槗璇︽儏
+    /// </summary>
+    public class GetChannelWalletTransactionsQueryResultItem
+    {
+        /// <summary>
+        /// 浜ゆ槗Id
+        /// </summary>
+        public Guid Id { get; set; }
+
+        /// <summary>
+        /// 绫诲瀷
+        /// </summary>
+        public EnumWalletTransactionType Type { get; set; }
+
+        /// <summary>
+        /// 璁㈠崟鍙�
+        /// </summary>
+        public string Code { get; set; }
+
+        /// <summary>
+        /// 澶栭儴璁㈠崟鍙�
+        /// </summary>
+        public string OutCode { get; set; }
+
+        /// <summary>
+        /// 骞跺彂閿�
+        /// </summary>
+        public string ConcurrencyLock { get; set; }
+
+        /// <summary>
+        /// 閲戦
+        /// </summary>
+        public decimal Amount { get; set; }
+
+        /// <summary>
+        /// 浣欓
+        /// </summary>
+        public decimal Balance { get; set; }
+
+        /// <summary>
+        /// 鏀舵敮鍚庝綑棰�
+        /// </summary>
+        public decimal AfterBalance { get; set; }
+
+        /// <summary>
+        /// 澶栭儴鎿嶄綔浜篒d
+        /// </summary>
+        public string OutOperatorId { get; set; }
+
+        /// <summary>
+        /// 鎿嶄綔鏃堕棿
+        /// </summary>
+        public DateTime? OperatorTime { get; set; }
+
+        /// <summary>
+        /// 浠樻浜鸿处鎴�
+        /// </summary>
+        public string PayerAccount { get; set; }
+
+        /// <summary>
+        /// 浠樻浜哄悕绉�
+        /// </summary>
+        public string PayerName { get; set; }
+
+        /// <summary>
+        /// 浠樻浜哄紑鎴疯
+        /// </summary>
+        public string PayerBank { get; set; }
+
+        /// <summary>
+        /// 浠樻浜烘敮琛�
+        /// </summary>
+        public string PayerBankBranch { get; set; }
+
+        /// <summary>
+        /// 澶栭儴鏀舵浜篒d
+        /// </summary>
+        public string OutReceiveId { get; set; }
+
+        /// <summary>
+        /// 鏀舵浜哄鍚�
+        /// </summary>
+        public string ReceiveName { get; set; }
+
+        /// <summary>
+        /// 鏀舵浜鸿韩浠借瘉鍙�
+        /// </summary>
+        public string ReceiveIdentity { get; set; }
+
+        /// <summary>
+        /// 鏀舵璐︽埛
+        /// </summary>
+        public string ReceiveAccount { get; set; }
+
+        /// <summary>
+        /// 鏀舵浜哄紑鎴疯
+        /// </summary>
+        public string ReceiveBank { get; set; }
+
+        /// <summary>
+        /// 鏀舵浜烘敮琛�
+        /// </summary>
+        public string ReceiveBankBranch { get; set; }
+
+        /// <summary>
+        /// 甯佺
+        /// </summary>
+        public string Currency { get; set; }
+
+        /// <summary>
+        /// 鐢ㄩ��
+        /// </summary>
+        public string Purpose { get; set; }
+
+        /// <summary>
+        /// 澶囨敞
+        /// </summary>
+        public string Remark { get; set; }
+
+        /// <summary>
+        /// 鏌ヨ鍒扮殑璁㈠崟鐘舵�佷负FAIL澶辫触鎴朢EFUND閫�绁ㄦ椂锛岃繑鍥為敊璇唬鐮�
+        /// </summary>
+        public string ErrorCode { get; set; }
+
+        /// <summary>
+        /// 鏌ヨ鍒扮殑璁㈠崟鐘舵�佷负FAIL澶辫触鎴朢EFUND閫�绁ㄦ椂锛岃繑鍥炲叿浣撶殑鍘熷洜銆�
+        /// </summary>
+        public string FailReason { get; set; }
+
+        /// <summary>
+        /// 璁㈠崟鏀粯鏃堕棿
+        /// </summary>
+        public DateTime? TransDate { get; set; }
+
+        /// <summary>
+        /// 棰勮鏀惰垂閲戦锛堝厓锛夛紝杞处鍒伴摱琛屽崱涓撶敤
+        /// </summary>
+        public decimal? OrderFee { get; set; }
+
+        /// <summary>
+        /// 鐢靛瓙鏀舵嵁Id
+        /// </summary>
+        public string EreceiptFileId { get; set; }
+
+        /// <summary>
+        /// 鐢靛瓙鏀舵嵁涓嬭浇閾炬帴
+        /// </summary>
+        public string EreceiptDownloadUrl { get; set; }
+
+        /// <summary>
+        /// 鐢靛瓙鏀舵嵁涓嬭浇閾炬帴
+        /// </summary>
+        public string EreceiptDownloadOssUrl { get; set; }
+
+        /// <summary>
+        /// 鐢靛瓙鏀舵嵁涓嬭浇閾炬帴
+        /// </summary>
+        public string EreceiptDownloadOssFullUrl { get; set; }
+
+        /// <summary>
+        /// 鐢靛瓙鏀舵嵁鐘舵��
+        /// </summary>
+        public EnumWalletTransactionEreceiptStatus? EreceiptStatus { get; set; }
+
+        /// <summary>
+        /// 鐢靛瓙鏀舵嵁閿欒淇℃伅
+        /// </summary>
+        public string EreceiptErrorMessage { get; set; }
+
+        /// <summary>
+        /// 鐘舵��
+        /// </summary>
+        public EnumWalletTransactionStatus TransactionStatus { get; set; }
+    }
+}

--
Gitblit v1.9.1