Commit 4c760c87 by 田超

Merge branch 'feature/1005292' into 'master'

feat: [1005292] 站内信加推图

See merge request rays/pcloud-book!1385
parents 726bf035 cf92906d
......@@ -35,6 +35,9 @@ public class CultivateNotifyItem extends BaseEntity {
@ApiModelProperty("图片地址")
private String picUrl;
@ApiModelProperty("首页推图")
private String squareImg;
@ApiModelProperty("音频资源id")
private Long resourceId;
......
......@@ -15,6 +15,7 @@
<result column="jump_type" jdbcType="INTEGER" property="jumpType"/>
<result column="jump_url" jdbcType="VARCHAR" property="jumpUrl"/>
<result column="ext_json" jdbcType="LONGVARCHAR" property="extJson"/>
<result column="square_img" jdbcType="VARCHAR" property="squareImg"/>
</resultMap>
<sql id="Base_Column_List" >
......@@ -23,7 +24,8 @@
jump_url,
serve_id,
serve_type,
ext_json
ext_json,
square_img
</sql>
<insert id="batchInsert" parameterType="com.pcloud.book.cultivate.entity.CultivateNotifyItem" useGeneratedKeys="true" keyProperty="id">
......@@ -40,7 +42,8 @@
jump_url,
serve_id,
serve_type,
ext_json
ext_json,
square_img
)
values
<foreach collection="list" item="item" index="index" separator=",">
......@@ -56,7 +59,8 @@
#{item.jumpUrl},
#{item.serveId},
#{item.serveType},
#{item.extJson}
#{item.extJson},
#{item.squareImg}
)
</foreach>
</insert>
......
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