提交 8f45392c authored 作者: 吴德鹏's avatar 吴德鹏

活动管理

上级 a3d7af21
...@@ -83,6 +83,16 @@ public class TbCfExpressTemplateEntity implements Serializable { ...@@ -83,6 +83,16 @@ public class TbCfExpressTemplateEntity implements Serializable {
*/ */
private Date updateTime; private Date updateTime;
private String desc;
public String getDesc() {
return desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
/** /**
* 设置:模板id * 设置:模板id
*/ */
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<result property="postageFreePrice" column="postage_free_price"/> <result property="postageFreePrice" column="postage_free_price"/>
<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="desc" column="desc"/>
</resultMap> </resultMap>
<select id="queryObject" resultType="com.platform.entity.TbCfExpressTemplateEntity"> <select id="queryObject" resultType="com.platform.entity.TbCfExpressTemplateEntity">
...@@ -41,7 +42,8 @@ ...@@ -41,7 +42,8 @@
`is_default`, `is_default`,
`postage_free_price`, `postage_free_price`,
`create_time`, `create_time`,
`update_time` `update_time`,
`desc`
from tb_cf_express_template from tb_cf_express_template
where template_id = #{id} where template_id = #{id}
</select> </select>
...@@ -66,7 +68,8 @@ ...@@ -66,7 +68,8 @@
`is_default`, `is_default`,
`postage_free_price`, `postage_free_price`,
t.`create_time`, t.`create_time`,
t.`update_time` t.`update_time`,
`desc`
from tb_cf_express_template t from tb_cf_express_template t
inner join country c inner join country c
on t.country=c.id on t.country=c.id
...@@ -113,7 +116,8 @@ ...@@ -113,7 +116,8 @@
`is_default`, `is_default`,
`postage_free_price`, `postage_free_price`,
`create_time`, `create_time`,
`update_time`) `update_time`,
`desc`)
values( values(
#{templateId}, #{templateId},
#{templateTitle}, #{templateTitle},
...@@ -131,7 +135,8 @@ ...@@ -131,7 +135,8 @@
#{isDefault}, #{isDefault},
#{postageFreePrice}, #{postageFreePrice},
#{createTime}, #{createTime},
#{updateTime}) #{updateTime},
#{desc})
</insert> </insert>
<update id="update" parameterType="com.platform.entity.TbCfExpressTemplateEntity"> <update id="update" parameterType="com.platform.entity.TbCfExpressTemplateEntity">
...@@ -152,7 +157,8 @@ ...@@ -152,7 +157,8 @@
<if test="isDefault != null">`is_default` = #{isDefault},</if> <if test="isDefault != null">`is_default` = #{isDefault},</if>
<if test="postageFreePrice != null">`postage_free_price` = #{postageFreePrice},</if> <if test="postageFreePrice != null">`postage_free_price` = #{postageFreePrice},</if>
<if test="createTime != null">`create_time` = #{createTime},</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>
<if test="desc != null">`update_time` = #{desc}</if>
</set> </set>
where template_id = #{templateId} where template_id = #{templateId}
</update> </update>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#jdbc.username=root #jdbc.username=root
#jdbc.password=diaoyun666 #jdbc.password=diaoyun666
jdbc.url: jdbc:mysql://159.138.48.71:3306/chinafrica_ref?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc.url: jdbc:mysql://159.138.48.71:3306/test?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false
jdbc.username: root jdbc.username: root
jdbc.password: Diaoyunnuli.8 jdbc.password: Diaoyunnuli.8
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#jdbc.username=root #jdbc.username=root
#jdbc.password=diaoyun666 #jdbc.password=diaoyun666
jdbc.url: jdbc:mysql://159.138.48.71:3306/chinafrica_ref?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false jdbc.url: jdbc:mysql://159.138.48.71:3306/test?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&autoReconnect=true&failOverReadOnly=false&zeroDateTimeBehavior=convertToNull&useSSL=false
jdbc.username: root jdbc.username: root
jdbc.password: Diaoyunnuli.8 jdbc.password: Diaoyunnuli.8
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论