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

评论管理添加 sku

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