zhengyuxuan
2025-03-27 ff1462c4d0c4c88b1ef801608284f01ac1e37761
fix;获取充值流水接口查询条件优化
3个文件已修改
12 ■■■■ 已修改文件
LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs
@@ -590,7 +590,10 @@
public class LifePayRechargeReceiptsPageInput : ChannelsBaseInput
{
    public string? OrderNo { get; set; }
    /// <summary>
    /// 查询条件
    /// </summary>
    public string? KeyWord { get; set; }
    /// <summary>
    /// 记账开始时间
LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs
@@ -32,7 +32,7 @@
        public async Task<LifePayRechargeReceiptsPageOutput<LifePayRechargeReceiptsListOutput>> GetLifePayRechargeReceiptsPage(LifePayRechargeReceiptsPageInput input)
        {
            var list = await _lifePayRechargeReceiptsRepository.Where(x => x.IsDeleted == false)
                .WhereIf(input.OrderNo.IsNotNullOrEmpty(), x => x.OrderNo.Contains(input.OrderNo))
                .WhereIf(input.KeyWord.IsNotNullOrEmpty(), x => x.OrderNo.Contains(input.KeyWord))
                .WhereIf(input.CreationTimeBegin.HasValue, x => x.CreationTime >= input.CreationTimeBegin)
                .WhereIf(input.CreationTimeEnd.HasValue, x => x.CreationTime <= input.CreationTimeEnd)
                .Select(x => new LifePayRechargeReceiptsListOutput()
LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml
@@ -683,6 +683,11 @@
            利润
            </summary>
        </member>
        <member name="P:LifePayment.Application.Contracts.LifePayRechargeReceiptsPageInput.KeyWord">
            <summary>
            查询条件
            </summary>
        </member>
        <member name="P:LifePayment.Application.Contracts.LifePayRechargeReceiptsPageInput.CreationTimeBegin">
            <summary>
            记账开始时间