Sfoglia il codice sorgente

Debug category list

tsurumure 3 mesi fa
parent
commit
469138cc25
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/main/resources/mapper/upload/SysFileCategoryDao.xml

+ 1 - 0
src/main/resources/mapper/upload/SysFileCategoryDao.xml

@@ -27,6 +27,7 @@
         <where>
             <if test="user_id != null and user_id != ''">
                 AND fc.user_id = #{user_id}
+                AND f.user_id = #{user_id}
             </if>
             <if test="category_name != null and category_name != ''">
                 AND fc.category_name LIKE CONCAT('%', #{category_name}, '%')