lihao 4 rokov pred
rodič
commit
25ba4f4d1c

+ 7 - 7
gx_api/GxPress/Service/GxPress.Service.Implement/Notice/NoticeService.cs

@@ -488,13 +488,13 @@ namespace GxPress.Service.Implement.Notice
                     query.Where(nameof(Entity.Middle.Middle.IsAdmin), false);
                     //query.Set(nameof(Entity.Middle.Middle.IsRecall), true);
                     await _middleRepository.DeleteAsync(query);
-                    //修改middle
-                    query = Q.NewQuery();
-                    query.Where(nameof(Entity.Middle.Middle.MiddleId), id);
-                    query.Where(nameof(Entity.Middle.Middle.FolderType), GxPress.EnumConst.AllTypeConst.Inbox.GetHashCode());
-                    query.Where(nameof(Entity.Middle.Middle.IsAdmin), true);
-                    query.Set(nameof(Entity.Middle.Middle.IsRecall), true);
-                    await _middleRepository.UpdateAsync(query);
+                    // //修改middle
+                    // query = Q.NewQuery();
+                    // query.Where(nameof(Entity.Middle.Middle.MiddleId), id);
+                    // query.Where(nameof(Entity.Middle.Middle.FolderType), GxPress.EnumConst.AllTypeConst.Inbox.GetHashCode());
+                    // query.Where(nameof(Entity.Middle.Middle.IsAdmin), true);
+                    // query.Set(nameof(Entity.Middle.Middle.IsRecall), true);
+                    // await _middleRepository.UpdateAsync(query);
                     // //修改为草稿箱
                     // query = Q.NewQuery();
                     // query.Where(nameof(Entity.Middle.Middle.MiddleId), id);