Browse Source

Merge branch 'feature/snapshot' into test

qinchaoyue 4 weeks ago
parent
commit
6ed8dbc173
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Hotline.Application/Snapshot/RedPackApplication.cs

+ 1 - 0
src/Hotline.Application/Snapshot/RedPackApplication.cs

@@ -245,6 +245,7 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
         var outDto = new SnapshotOrderAuditDetailOutDto { Order = order.Adapt<SnapshotOrderAuditOrderDetailOutDto>() };
         var industry = await _industryRepository.Queryable(includeDeleted: true)
             .LeftJoin<OrderSnapshot>((i, o) => i.Id == o.IndustryId)
+            .Where((i, o) => o.Id == id)
             .Select((i, o) => new { i.Id, i.CitizenReadPackAmount, i.ArgeePoints, i.ExtraDeductedPoints, i.RefusePoints , i.IsPoints})
             .FirstAsync();
         outDto.Amount = industry.CitizenReadPackAmount;