Browse Source

Merge branch 'feature/snapshot' into test

qinchaoyue 2 weeks ago
parent
commit
1d476b72db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Hotline.Application/Snapshot/SnapshotApplicationBase.cs

+ 1 - 1
src/Hotline.Application/Snapshot/SnapshotApplicationBase.cs

@@ -312,7 +312,7 @@ public abstract class SnapshotApplicationBase
             .FirstAsync();
 
         var outDto = await _orderRepository.Queryable()
-            .Where(m => m.Contact == userInfo.PhoneNumber)
+            .Where(m => m.Contact == userInfo.PhoneNumber && m.CreatorId == _sessionContext.UserId)
             .Select(m => new SnapshotUserInfoOutDto
             {
                 NoReplyCount = SqlFunc.AggregateSum(SqlFunc.IIF(m.Status < EOrderStatus.Filed, 1, 0)),