zero 3 weeks ago
parent
commit
589d8208d3
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/main/resources/mapper/ReportMapper.xml

+ 2 - 4
src/main/resources/mapper/ReportMapper.xml

@@ -7,10 +7,8 @@
                ara.report_id,
                ara.article_id,
                ai.title,
-               CASE
-                   WHEN ai.old_content IS NOT NULL AND ai.old_content != '' THEN ai.old_content
-                   ELSE ai.digest
-                END AS digest,
+               ai.digest,
+               ai.old_content,
                ai.category_id,
                ca.name as categoryName,
                ai.public_time,