浏览代码

新闻返回id

lyhzzz 3 年之前
父节点
当前提交
a60c983619
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/resources/mapper/manage/NewsMapper.xml

+ 1 - 0
src/main/resources/mapper/manage/NewsMapper.xml

@@ -4,6 +4,7 @@
 
   <select id="pageNews" resultType="com.fdkankan.manage.vo.PageNewsVO">
     SELECT
+    n.`id`,
     n.`title`,
     n.`source`,
     n.`new_type`,