zhengyuxuan
2025-03-28 1650950e7f246915599e62a3caaadf88e1dd3405
fix:提交
2个文件已修改
27 ■■■■ 已修改文件
LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs
@@ -674,4 +674,21 @@
    /// 拓展属性
    /// </summary>
    public string ExtraProperties { get; set; }
}
public class LifePayExpensesReceiptsPageInput : ChannelsBaseInput
{
    /// <summary>
    /// 查询条件
    /// </summary>
    public string? KeyWord { get; set; }
    /// <summary>
    /// 记账开始时间
    /// </summary>
    public DateTime? CreationTimeBegin { get; set; }
    /// <summary>
    /// 记账结束时间
    /// </summary>
    public DateTime? CreationTimeEnd { get; set; }
}
LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs
@@ -112,16 +112,16 @@
                {
                    Id = x.Id,
                    OrderNo = x.OrderNo,
                    RechargeAmount = x.RechargeAmount,
                    Remark = x.Remark,
                    Voucher = x.Voucher.GetOssPath(),
                    //RechargeAmount = x.RechargeAmount,
                    //Remark = x.Remark,
                    //Voucher = x.Voucher.GetOssPath(),
                    CreationTime = x.CreationTime,
                })
                .GetPageResult(input.PageModel);
            var total = await _lifePayRechargeReceiptsRepository.Where(x => x.IsDeleted == false).SumAsync(x => x.RechargeAmount);
            LifePayRechargeReceiptsPageOutput<LifePayRechargeReceiptsListOutput> result = new LifePayRechargeReceiptsPageOutput<LifePayRechargeReceiptsListOutput>();
            result.Data = list.Data;
            LifePayExpensesReceiptsPageOutput<LifePayExpensesReceiptsListOutput> result = new LifePayExpensesReceiptsPageOutput<LifePayExpensesReceiptsListOutput>();
            //result.Data = list.Data;
            result.TotalRechargeAmount = total;
            return result;
        }