提交 27dbf8ce 作者: 刘明祎

动态发布 添加商品id

上级 ad5d3f21
流水线 #8826 已失败 于阶段
in 12 秒
......@@ -91,5 +91,10 @@ public class DynamicVO implements Serializable {
@ApiModelProperty(value = "关注状态")
private Boolean status;
@ApiModelProperty(value = "商品id")
private Integer mallGoodsId;
@ApiModelProperty(value = "关联商品")
private MallGoodsVO mallGoodsVO;
}
......@@ -62,8 +62,8 @@
</insert>
<insert id="insertDynamic" keyProperty="id" useGeneratedKeys="true"
parameterType="com.mmc.csf.release.entity.forum.ForumDynamicDO">
INSERT INTO forum_dynamic(user_account_id, description, location, lat, lon, root_path, check_status)
VALUES (#{userAccountId}, #{description}, #{location}, #{lat}, #{lon}, #{rootPath}, #{checkStatus})
INSERT INTO forum_dynamic(user_account_id, description, location, lat, lon, root_path, check_status, goods_id)
VALUES (#{userAccountId}, #{description}, #{location}, #{lat}, #{lon}, #{rootPath}, #{checkStatus}, #{goodsId})
</insert>
<insert id="insertforumGambit" parameterType="com.mmc.csf.release.entity.gambit.ForumGambitDO" keyProperty="id" useGeneratedKeys="true">
insert into forum_gambit(gambit_name,gambit_icon,gambit_cover,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论