FengChaoYu 13 часов назад
Родитель
Сommit
2bb0d16964
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      mall-server-api/src/main/resources/mapper/CommonMapper.xml

+ 1 - 0
mall-server-api/src/main/resources/mapper/CommonMapper.xml

@@ -1325,6 +1325,7 @@
         FROM training a
             LEFT JOIN common_file b ON a.obj_id = b.id
         ${ex.query}
+        AND a.del = 0
         <if test="ex.orderBy == null or ex.orderBy ==''">
             ORDER BY a.create_time DESC
         </if>