From 66e9a4f4cce1696b383407f77616b778b5985b63 Mon Sep 17 00:00:00 2001 From: lifenlong Date: Thu, 22 Jul 2021 10:47:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=BA=97=E9=93=BA-=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E4=B8=8ESku=E5=BA=93=E5=AD=98=E4=B8=8D=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/lili/event/impl/StockUpdateExecute.java | 1 + update-sql/version4.1to4.2.sql | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/consumer/src/main/java/cn/lili/event/impl/StockUpdateExecute.java b/consumer/src/main/java/cn/lili/event/impl/StockUpdateExecute.java index 4089aa54..b15ff604 100644 --- a/consumer/src/main/java/cn/lili/event/impl/StockUpdateExecute.java +++ b/consumer/src/main/java/cn/lili/event/impl/StockUpdateExecute.java @@ -184,6 +184,7 @@ public class StockUpdateExecute implements OrderStatusChangeEvent { skuKeys.add(GoodsSkuService.getStockCacheKey(orderItem.getSkuId())); GoodsSku goodsSku = new GoodsSku(); goodsSku.setId(orderItem.getSkuId()); + goodsSku.setGoodsId(orderItem.getGoodsId()); //如果有促销信息 if (null != orderItem.getPromotionType() && null != orderItem.getPromotionId()) { //如果促销有库存信息 diff --git a/update-sql/version4.1to4.2.sql b/update-sql/version4.1to4.2.sql index 4082f20f..d5564345 100644 --- a/update-sql/version4.1to4.2.sql +++ b/update-sql/version4.1to4.2.sql @@ -19,4 +19,7 @@ update li_member_points_history set point_type = 'REDUCE' where point_type=0; INSERT INTO `lilishop`.`li_menu` (`id`, `create_by`, `create_time`, `delete_flag`, `update_by`, `update_time`, `description`, `front_route`, `icon`, `level`, `name`, `parent_id`, `path`, `sort_order`, `title`, `front_component`) VALUES (1349247640584085511, 'admin', '2021-01-13 14:51:20', b'0', 'admin', '2021-02-25 09:02:59', 'null', 'customWords/index', 'ios-american-football', 2, 'customWords', '1349237129847005184', 'customWords', 8.00, '分词管理', 'null'); /** 修改会员评价店铺图片字段类型 **/ -alter table li_member_evaluation modify column reply_image text; \ No newline at end of file +alter table li_member_evaluation modify column reply_image text; + +/** 修改售后图片字段类型 **/ +alter table li_after_sale modify column after_sale_image text; \ No newline at end of file