|
@@ -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);
|