Commit ee4aa874 by rongkailun

【修改】深度专题添加id字段返回

parent 8a5d4e17
package io.office.modules.manage.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
......@@ -133,4 +134,7 @@ public class NewtopicEntity implements Serializable {
*/
private String lasteditor;
@TableField(exist = false)
private String id;
}
......@@ -642,7 +642,7 @@ ORDER BY
id DESC
</select>
<select id="sdztList" resultType="io.office.modules.manage.entity.NewtopicEntity">
select * from newtopic where levels>0 and parentid=0 and checkflag=1 order by levels desc,showtime desc,classid desc
select classid as id,* from newtopic where levels>0 and parentid=0 and checkflag=1 order by levels desc,showtime desc,classid desc
</select>
<select id="jcspList" resultType="io.office.modules.manage.entity.NewsMovieEntity">
SELECT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment