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

海报临时更改

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