提交 73b49f78 authored 作者: 吴德鹏's avatar 吴德鹏

海报临时更改

上级 191d8281
......@@ -49,6 +49,8 @@ public class TbCfPostersEntity implements Serializable {
* 创建时间
*/
private Date createTime;
private String link;
/**
* 更新时间
*/
......@@ -67,6 +69,7 @@ public class TbCfPostersEntity implements Serializable {
public String getId() {
return id;
}
/**
* 设置:标题
*/
......@@ -184,4 +187,12 @@ public class TbCfPostersEntity implements Serializable {
public Date getUpdateTime() {
return updateTime;
}
public String getLink() {
return link;
}
public void setLink(String link) {
this.link = link;
}
}
......@@ -14,6 +14,7 @@
<result property="remark" column="remark"/>
<result property="createTime" column="create_time"/>
<result property="updateTime" column="update_time"/>
<result property="link" column="link"/>
</resultMap>
<select id="queryObject" resultType="com.platform.entity.TbCfPostersEntity">
......@@ -43,7 +44,8 @@
`redirect_url`,
`remark`,
`create_time`,
`update_time`
`update_time`,
link
from tb_cf_posters
WHERE 1=1
<if test="name != null and name.trim() != ''">
......@@ -79,6 +81,7 @@
`sort`,
`is_show`,
`redirect_url`,
link
`remark`,
`create_time`,
`update_time`)
......@@ -90,6 +93,7 @@
#{sort},
#{isShow},
#{redirectUrl},
#{link},
#{remark},
#{createTime},
#{updateTime})
......@@ -98,14 +102,15 @@
<update id="update" parameterType="com.platform.entity.TbCfPostersEntity">
update tb_cf_posters
<set>
<if test="postersTitle != null">`posters_title` = #{postersTitle}, </if>
<if test="postersType != null">`posters_type` = #{postersType}, </if>
<if test="postersPicture != null">`posters_picture` = #{postersPicture}, </if>
<if test="sort != null">`sort` = #{sort}, </if>
<if test="isShow != null">`is_show` = #{isShow}, </if>
<if test="redirectUrl != null">`redirect_url` = #{redirectUrl}, </if>
<if test="remark != null">`remark` = #{remark}, </if>
<if test="createTime != null">`create_time` = #{createTime}, </if>
<if test="postersTitle != null">`posters_title` = #{postersTitle},</if>
<if test="postersType != null">`posters_type` = #{postersType},</if>
<if test="postersPicture != null">`posters_picture` = #{postersPicture},</if>
<if test="sort != null">`sort` = #{sort},</if>
<if test="isShow != null">`is_show` = #{isShow},</if>
<if test="redirectUrl != null">`redirect_url` = #{redirectUrl},</if>
<if test="link != null">`link` = #{link}</if>
<if test="remark != null">`remark` = #{remark},</if>
<if test="createTime != null">`create_time` = #{createTime},</if>
<if test="updateTime != null">`update_time` = #{updateTime}</if>
</set>
where id = #{id}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论