Explorar el Código

Debug category list

tsurumure hace 3 meses
padre
commit
469138cc25
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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}, '%')