Browse Source

fix 分页问题

Administrator 4 years ago
parent
commit
11da2402bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/ZbGalleryMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/ZbGalleryMapper.xml

@@ -127,7 +127,7 @@
         zgc.name categoryName
         FROM
         zb_gallery zg
-        LEFT JOIN zb_gallery_img zgi ON zg.id = zgi.gallert_id
+        JOIN zb_gallery_img zgi ON zg.id = zgi.gallert_id
         LEFT JOIN zb_file zf ON zf.id = zgi.thumb_id
         left join zb_gallery_category zgc on zgc.id = zg.category_id
         <if test="categoryIds != null and categoryIds.size() > 0">