소스 검색

获取文章列表BUG修复 加入抽奖,下载,评论

fangqing 5 달 전
부모
커밋
b09ac8410f
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      ruoyi-generator/src/main/resources/mapper/community/ArticleMapper.xml

+ 6 - 0
ruoyi-generator/src/main/resources/mapper/community/ArticleMapper.xml

@@ -16,6 +16,9 @@
         <result property="remark" column="remark"/>
         <result property="userName" column="user_name"/>
         <result property="nickName" column="nick_name"/>
+        <result property="comment" column=" is_comment"/>
+        <result property="raffle" column="is_raffle"/>
+        <result property="download" column="is_download"/>
         <result property="email" column="email"/>
         <result property="avatar" column="avatar"/>
         <result property="pageViews" column="pageViews"/>
@@ -108,6 +111,9 @@
         a.create_time as article_create_time,
         a.update_by as article_update_by,
         a.update_time as article_update_time,
+        a.is_comment,
+        a.is_raffle,
+        a.is_download,
         COALESCE((
         SELECT
         JSON_ARRAYAGG(