增加摘要字段

release_1.0.0
liu 8 months ago
parent 0de6d3cd0e
commit 306023b414

@ -1,6 +1,7 @@
package com.supervision.knowsub.entity.vo.knowledge;
import com.supervision.knowsub.model.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ -30,6 +30,12 @@ public class Knowledge implements Serializable {
@Schema(description = "知识标题")
private String title;
/**
*
*/
@Schema(description = "摘要")
private String excerpt;
/**
* ID
*/

@ -7,6 +7,7 @@
<resultMap id="BaseResultMap" type="com.supervision.knowsub.model.Knowledge">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="title" column="title" jdbcType="VARCHAR"/>
<result property="excerpt" column="excerpt" jdbcType="VARCHAR"/>
<result property="contentId" column="content_id" jdbcType="VARCHAR"/>
<result property="infoId" column="info_id" jdbcType="VARCHAR"/>
<result property="baseId" column="base_id" jdbcType="VARCHAR"/>
@ -23,7 +24,7 @@
<sql id="Base_Column_List">
id
,title,content_id,info_id,
,title,excerpt,content_id,info_id,
base_id,publish_dept_id,knowledge_from,
status,submitted_dept_id,create_user_id,
create_time,update_user_id,update_time

Loading…
Cancel
Save