提交 4b86eb45 authored 作者: 吴德鹏's avatar 吴德鹏

评论管理添加 sku

上级 114f89e0
......@@ -81,6 +81,16 @@ public class TbCfItemCommentEntity implements Serializable {
private Integer commentType;
private String itemImg;
private String attributs;
public String getAttributs() {
return attributs;
}
public void setAttributs(String attributs) {
this.attributs = attributs;
}
public String getItemImg() {
return itemImg;
}
......
......@@ -24,6 +24,7 @@
<!-- <result property="username" column="nick"></result>-->
<!-- <result property="orderNo" column="order_no"></result>-->
<!-- <result property="itemName" column="item_name"></result>-->
<result property="attributs" column="attributs"/>
</resultMap>
<select id="queryObject" resultType="com.platform.entity.TbCfItemCommentEntity">
......@@ -42,7 +43,8 @@
`comment_type`,
`del_flag`,
`create_time`,
`update_time`
`update_time`,
attributs
from tb_cf_item_comment
where id = #{id}
</select>
......@@ -64,6 +66,7 @@
c.del_flag,
c.create_time,
c.update_time,
c.attributs,
u.nick userName,
o.order_no,
i.item_name,
......@@ -145,7 +148,8 @@
`comment_type`,
`del_flag`,
`create_time`,
`update_time`)
`update_time`,
attributs)
values(
#{id},
#{userId},
......@@ -161,7 +165,8 @@
#{commentType},
#{delFlag},
#{createTime},
#{updateTime})
#{updateTime},
#{attributs})
</insert>
<update id="update" parameterType="com.platform.entity.TbCfItemCommentEntity">
......@@ -177,6 +182,7 @@
<if test="logisticsScore != null">`logistics_score` = #{logisticsScore},</if>
<if test="priceScore != null">`price_score` = #{priceScore},</if>
<if test="itemReview != null">`item_review` = #{itemReview},</if>
<if test="attributs != null">`attributs` = #{attributs},</if>
<!-- <if test="real != null">`like_num` = #{real},</if>-->
<if test="delFlag != null">`del_flag` = #{delFlag},</if>
<if test="createTime != null">`create_time` = #{createTime},</if>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论