Browse Source

fix

master
winter 1 year ago
parent
commit
9c29676ad6
2 changed files with 4 additions and 1 deletions
  1. +2
    -0
      yqzjService/src/main/java/com/iformall/domain/po/yqzj/YqzjNews.java
  2. +2
    -1
      yqzjService/src/main/resources/mapper/YqzjNewsMapper.xml

+ 2
- 0
yqzjService/src/main/java/com/iformall/domain/po/yqzj/YqzjNews.java View File

@@ -37,6 +37,8 @@ public class YqzjNews extends TenantEntity {
private String image;
@io.swagger.annotations.ApiModelProperty(value="视频地址",name="video")
private String video;
@io.swagger.annotations.ApiModelProperty(value="视频封面图",name="videoImage")
private String videoImage;
@io.swagger.annotations.ApiModelProperty(value="发布时间",name="sendDate")
private Date sendDate;
@TableField(exist = false)


+ 2
- 1
yqzjService/src/main/resources/mapper/YqzjNewsMapper.xml View File

@@ -13,6 +13,7 @@
<result column="detail" jdbcType="VARCHAR" property="detail"/>
<result column="image" jdbcType="VARCHAR" property="image"/>
<result column="video" jdbcType="VARCHAR" property="video"/>
<result column="video_image" jdbcType="VARCHAR" property="videoImage"/>
<result column="send_date" jdbcType="TIMESTAMP" property="sendDate"/>
<result column="status" jdbcType="INTEGER" property="status"/>
<result column="create_date" jdbcType="TIMESTAMP" property="createDate"/>
@@ -22,7 +23,7 @@

<sql id="allColumns">
`id`,`tenant_id`,`parent_tenant_id`,`type`,`sub_type`,`tag`,`title`,`sub_title`,`detail`,`image`,`video`,`send_date`,`status`,`create_date`,`update_date`,`first`
`id`,`tenant_id`,`parent_tenant_id`,`type`,`sub_type`,`tag`,`title`,`sub_title`,`detail`,`image`,`video`,`video_image`,`send_date`,`status`,`create_date`,`update_date`,`first`
</sql>

<sql id="dynamicWhereConditions">


Loading…
Cancel
Save