忽略dll文件git
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
using Hncore.Pass.PaymentCenter.Domain;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response
|
||||
{
|
||||
public class QueryOrderResponse
|
||||
{
|
||||
public PaymentStatus PaymentStatus { get; set; }
|
||||
public PaymentType PayType { get; set; }
|
||||
public string PaymentMessage { get; set; }
|
||||
}
|
||||
using Hncore.Pass.PaymentCenter.Domain;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response
|
||||
{
|
||||
public class QueryOrderResponse
|
||||
{
|
||||
public PaymentStatus PaymentStatus { get; set; }
|
||||
public PaymentType PayType { get; set; }
|
||||
public string PaymentMessage { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,85 +1,85 @@
|
||||
using Hncore.Infrastructure.Common;
|
||||
using Hncore.Infrastructure.Extension;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response.PaymentRecord
|
||||
{
|
||||
public class QueryPaymentRecordByOrderIdResponse
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public int DeleteTag { get; set; }
|
||||
|
||||
public int CreatorId { get; set; }
|
||||
|
||||
|
||||
public int UpdatorId { get; set; }
|
||||
public System.Int32 OwnerId { get; set; }
|
||||
/// <summary>
|
||||
/// 小区编号
|
||||
/// </summary>
|
||||
public int projectcode { get; set; }
|
||||
public System.DateTime RequestTime { get; set; }
|
||||
public System.String RequestParams { get; set; }
|
||||
public System.Int32 PaymentStatus { get; set; }
|
||||
public System.String PaymentNumber { get; set; }
|
||||
public System.String PaymentCompletionTime { get; set; }
|
||||
public System.Int32 PaymentTotal { get; set; }
|
||||
public System.Int32 PaymentType { get; set; }
|
||||
public System.Int32 CallbackNumber { get; set; }
|
||||
public System.String CallbackUrl { get; set; }
|
||||
|
||||
public System.String Openid { get; set; }
|
||||
public System.String Appid { get; set; }
|
||||
|
||||
public System.String Appname { get; set; }
|
||||
public System.String Body { get; set; }
|
||||
|
||||
public System.String OrderId { get; set; }
|
||||
|
||||
public System.Int32 BusinessType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单类型
|
||||
/// </summary>
|
||||
public int orderType { get; set; }
|
||||
/// <summary>
|
||||
/// 来源Pos
|
||||
/// </summary>
|
||||
public int fromPos { get; set; }
|
||||
/// <summary>
|
||||
/// 回调任务状态
|
||||
/// </summary>
|
||||
public int CallbackStatus { get; set; }
|
||||
/// <summary>
|
||||
/// 支付渠道
|
||||
/// </summary>
|
||||
public int paymentChannel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物业名称
|
||||
/// </summary>
|
||||
public string PropertyName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 根据orderid查询一条支付记录
|
||||
/// </summary>
|
||||
/// <param name="paymentRecordQuery"></param>
|
||||
/// <param name="orderId"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<QueryPaymentRecordByOrderIdResponse> Query(IQueryable<Domain.PaymentRecord> paymentRecordQuery
|
||||
, string orderId)
|
||||
{
|
||||
var paymentRecord = await paymentRecordQuery
|
||||
.OrderByDescending(t=>t.Id)
|
||||
.FirstOrDefaultAsync(t => t.OrderId == orderId);
|
||||
CheckHelper.NotNull(paymentRecord,"支付记录不存在");
|
||||
|
||||
return paymentRecord.MapTo<QueryPaymentRecordByOrderIdResponse>();
|
||||
}
|
||||
}
|
||||
using Hncore.Infrastructure.Common;
|
||||
using Hncore.Infrastructure.Extension;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response.PaymentRecord
|
||||
{
|
||||
public class QueryPaymentRecordByOrderIdResponse
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public int DeleteTag { get; set; }
|
||||
|
||||
public int CreatorId { get; set; }
|
||||
|
||||
|
||||
public int UpdatorId { get; set; }
|
||||
public System.Int32 OwnerId { get; set; }
|
||||
/// <summary>
|
||||
/// 小区编号
|
||||
/// </summary>
|
||||
public int projectcode { get; set; }
|
||||
public System.DateTime RequestTime { get; set; }
|
||||
public System.String RequestParams { get; set; }
|
||||
public System.Int32 PaymentStatus { get; set; }
|
||||
public System.String PaymentNumber { get; set; }
|
||||
public System.String PaymentCompletionTime { get; set; }
|
||||
public System.Int32 PaymentTotal { get; set; }
|
||||
public System.Int32 PaymentType { get; set; }
|
||||
public System.Int32 CallbackNumber { get; set; }
|
||||
public System.String CallbackUrl { get; set; }
|
||||
|
||||
public System.String Openid { get; set; }
|
||||
public System.String Appid { get; set; }
|
||||
|
||||
public System.String Appname { get; set; }
|
||||
public System.String Body { get; set; }
|
||||
|
||||
public System.String OrderId { get; set; }
|
||||
|
||||
public System.Int32 BusinessType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单类型
|
||||
/// </summary>
|
||||
public int orderType { get; set; }
|
||||
/// <summary>
|
||||
/// 来源Pos
|
||||
/// </summary>
|
||||
public int fromPos { get; set; }
|
||||
/// <summary>
|
||||
/// 回调任务状态
|
||||
/// </summary>
|
||||
public int CallbackStatus { get; set; }
|
||||
/// <summary>
|
||||
/// 支付渠道
|
||||
/// </summary>
|
||||
public int paymentChannel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物业名称
|
||||
/// </summary>
|
||||
public string PropertyName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 根据orderid查询一条支付记录
|
||||
/// </summary>
|
||||
/// <param name="paymentRecordQuery"></param>
|
||||
/// <param name="orderId"></param>
|
||||
/// <returns></returns>
|
||||
public static async Task<QueryPaymentRecordByOrderIdResponse> Query(IQueryable<Domain.PaymentRecord> paymentRecordQuery
|
||||
, string orderId)
|
||||
{
|
||||
var paymentRecord = await paymentRecordQuery
|
||||
.OrderByDescending(t=>t.Id)
|
||||
.FirstOrDefaultAsync(t => t.OrderId == orderId);
|
||||
CheckHelper.NotNull(paymentRecord,"支付记录不存在");
|
||||
|
||||
return paymentRecord.MapTo<QueryPaymentRecordByOrderIdResponse>();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,33 +1,33 @@
|
||||
using Hncore.Pass.PaymentCenter.Domain;
|
||||
using Hncore.Pass.PaymentCenter.Domain.Refund;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response
|
||||
{
|
||||
public class QueryRefundResponse
|
||||
{
|
||||
public RefundStatus RefundStatus;
|
||||
|
||||
public CancelStatus CancelStatus;
|
||||
|
||||
public string RefundMessage { get; set; }
|
||||
|
||||
public PaymentType PayType { get; set; }
|
||||
|
||||
public string RefundId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作管理员
|
||||
/// </summary>
|
||||
public int OperatorId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作管理员姓名
|
||||
/// </summary>
|
||||
public string OperatorName { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 退款原因
|
||||
/// </summary>
|
||||
public string RefundReason { get; set; } = "";
|
||||
}
|
||||
using Hncore.Pass.PaymentCenter.Domain;
|
||||
using Hncore.Pass.PaymentCenter.Domain.Refund;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response
|
||||
{
|
||||
public class QueryRefundResponse
|
||||
{
|
||||
public RefundStatus RefundStatus;
|
||||
|
||||
public CancelStatus CancelStatus;
|
||||
|
||||
public string RefundMessage { get; set; }
|
||||
|
||||
public PaymentType PayType { get; set; }
|
||||
|
||||
public string RefundId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作管理员
|
||||
/// </summary>
|
||||
public int OperatorId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作管理员姓名
|
||||
/// </summary>
|
||||
public string OperatorName { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 退款原因
|
||||
/// </summary>
|
||||
public string RefundReason { get; set; } = "";
|
||||
}
|
||||
}
|
||||
@@ -1,23 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response.Refund
|
||||
{
|
||||
public class RefundCountResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 撤销中数量
|
||||
/// </summary>
|
||||
public int CancelingCount { get; set; }
|
||||
/// <summary>
|
||||
/// 撤销成功数量
|
||||
/// </summary>
|
||||
public int SuccessCount { get; set; }
|
||||
/// <summary>
|
||||
/// 撤销失败数量
|
||||
/// </summary>
|
||||
public int FailCount { get; set; }
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response.Refund
|
||||
{
|
||||
public class RefundCountResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 撤销中数量
|
||||
/// </summary>
|
||||
public int CancelingCount { get; set; }
|
||||
/// <summary>
|
||||
/// 撤销成功数量
|
||||
/// </summary>
|
||||
public int SuccessCount { get; set; }
|
||||
/// <summary>
|
||||
/// 撤销失败数量
|
||||
/// </summary>
|
||||
public int FailCount { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
using Hncore.Pass.PaymentCenter.Domain;
|
||||
using Hncore.Pass.PaymentCenter.Domain.Refund;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using static Hncore.Infrastructure.Extension.EnumExtension;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response.Refund
|
||||
{
|
||||
public class RefundExportResponse
|
||||
{
|
||||
private readonly List<EnumInfo> PaymentEnumList = EnumToList<PaymentType>();
|
||||
private readonly List<EnumInfo> RefundStatusEnumList = EnumToList<RefundStatus>();
|
||||
private readonly List<EnumInfo> PaymentMethodEnumList = EnumToList<PaymentMethod>();
|
||||
public string CompanyName { get; set; }
|
||||
public string ProjectName { get; set; }
|
||||
public string TransactionRefundId { get; set; }
|
||||
public string TransactionId { get; set; }
|
||||
public string PaymentRecordId { get; set; }
|
||||
public string OrderId { get; set; }
|
||||
public string RefundId { get; set; }
|
||||
public string RefundFee { get; set; }
|
||||
public int PaymentType { get; set; }
|
||||
public string PaymentTypeDesc
|
||||
{
|
||||
get { return PaymentEnumList.Where(x => x.Value == PaymentType).FirstOrDefault().Name; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 支付渠道
|
||||
/// </summary>
|
||||
public int PaymentMethod { get; set; }
|
||||
public string PaymentChannelDesc
|
||||
{
|
||||
get
|
||||
{
|
||||
if (PaymentMethod == 0)
|
||||
return "";
|
||||
return PaymentMethodEnumList.Where(x => x.Value == PaymentMethod).FirstOrDefault().Name;
|
||||
}
|
||||
}
|
||||
public string OperatorName { get; set; }
|
||||
public DateTime? ApplyCancelTime { get; set; }
|
||||
public DateTime? RequestTime { get; set; }
|
||||
public DateTime? RefundSuccessTime { get; set; }
|
||||
public int RefundStatus { get; set; }
|
||||
public string RefundStatusDesc
|
||||
{
|
||||
get { return RefundStatusEnumList.Where(x => x.Value == RefundStatus).FirstOrDefault().Name; }
|
||||
}
|
||||
public string CancelReason { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
using Hncore.Pass.PaymentCenter.Domain;
|
||||
using Hncore.Pass.PaymentCenter.Domain.Refund;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using static Hncore.Infrastructure.Extension.EnumExtension;
|
||||
|
||||
namespace Hncore.Pass.PaymentCenter.Response.Refund
|
||||
{
|
||||
public class RefundExportResponse
|
||||
{
|
||||
private readonly List<EnumInfo> PaymentEnumList = EnumToList<PaymentType>();
|
||||
private readonly List<EnumInfo> RefundStatusEnumList = EnumToList<RefundStatus>();
|
||||
private readonly List<EnumInfo> PaymentMethodEnumList = EnumToList<PaymentMethod>();
|
||||
public string CompanyName { get; set; }
|
||||
public string ProjectName { get; set; }
|
||||
public string TransactionRefundId { get; set; }
|
||||
public string TransactionId { get; set; }
|
||||
public string PaymentRecordId { get; set; }
|
||||
public string OrderId { get; set; }
|
||||
public string RefundId { get; set; }
|
||||
public string RefundFee { get; set; }
|
||||
public int PaymentType { get; set; }
|
||||
public string PaymentTypeDesc
|
||||
{
|
||||
get { return PaymentEnumList.Where(x => x.Value == PaymentType).FirstOrDefault().Name; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 支付渠道
|
||||
/// </summary>
|
||||
public int PaymentMethod { get; set; }
|
||||
public string PaymentChannelDesc
|
||||
{
|
||||
get
|
||||
{
|
||||
if (PaymentMethod == 0)
|
||||
return "";
|
||||
return PaymentMethodEnumList.Where(x => x.Value == PaymentMethod).FirstOrDefault().Name;
|
||||
}
|
||||
}
|
||||
public string OperatorName { get; set; }
|
||||
public DateTime? ApplyCancelTime { get; set; }
|
||||
public DateTime? RequestTime { get; set; }
|
||||
public DateTime? RefundSuccessTime { get; set; }
|
||||
public int RefundStatus { get; set; }
|
||||
public string RefundStatusDesc
|
||||
{
|
||||
get { return RefundStatusEnumList.Where(x => x.Value == RefundStatus).FirstOrDefault().Name; }
|
||||
}
|
||||
public string CancelReason { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
namespace Hncore.Pass.PaymentCenter.Response
|
||||
{
|
||||
public class WechatJsPayCreateOrderResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 原生态js支付信息或小程序支付信息
|
||||
/// </summary>
|
||||
public string PayInfo { get; set; }
|
||||
}
|
||||
namespace Hncore.Pass.PaymentCenter.Response
|
||||
{
|
||||
public class WechatJsPayCreateOrderResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 原生态js支付信息或小程序支付信息
|
||||
/// </summary>
|
||||
public string PayInfo { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user