修改商品模板的详情字段类型
This commit is contained in:
parent
34ed19373b
commit
3aacd1efbd
@ -69,7 +69,7 @@ public class DraftGoodsServiceImpl extends ServiceImpl<DraftGoodsMapper, DraftGo
|
||||
draftGoods.setGoodsGalleryListJson(JSONUtil.toJsonStr(draftGoods.getGoodsGalleryList()));
|
||||
draftGoods.setSkuListJson(JSONUtil.toJsonStr(this.getGoodsSkuList(draftGoods.getSkuList())));
|
||||
draftGoods.setGoodsParamsListJson(JSONUtil.toJsonStr(draftGoods.getGoodsParamsList()));
|
||||
this.save(draftGoods);
|
||||
this.saveOrUpdate(draftGoods);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -114,4 +114,6 @@ CREATE TABLE `li_coupon_activity_item` (
|
||||
`coupon_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '优惠券ID',
|
||||
`num` int DEFAULT NULL COMMENT '优惠券数量',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/** 修改商品模板详情字段类型**/
|
||||
ALTER TABLE `li_draft_goods` MODIFY COLUMN `intro` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL;
|
Loading…
x
Reference in New Issue
Block a user