李昊 4 年之前
父节点
当前提交
81d9d24e77
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gx_api/GxPress/Service/GxPress.Service.Implement/Middle/MiddleService.cs

+ 1 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/Middle/MiddleService.cs

@@ -1022,7 +1022,7 @@ namespace GxPress.Service.Implement.Middle
                 AllTypeConst.MyCc.GetHashCode()
             };
             var query = Q.NewQuery();
-            query.Where(nameof(Entity.Middle.Middle.FolderType), typeValues);
+            query.WhereIn(nameof(Entity.Middle.Middle.FolderType), typeValues);
             query.Where(nameof(Entity.Middle.Middle.UserId), userId);
             query.Where(nameof(Entity.Middle.Middle.IsDelete), true);
             return await _middleRepository.DeleteAsync(query);