解决店铺-商品列表页面库存与Sku库存不对应问题
This commit is contained in:
parent
1c0a420515
commit
66e9a4f4cc
@ -184,6 +184,7 @@ public class StockUpdateExecute implements OrderStatusChangeEvent {
|
|||||||
skuKeys.add(GoodsSkuService.getStockCacheKey(orderItem.getSkuId()));
|
skuKeys.add(GoodsSkuService.getStockCacheKey(orderItem.getSkuId()));
|
||||||
GoodsSku goodsSku = new GoodsSku();
|
GoodsSku goodsSku = new GoodsSku();
|
||||||
goodsSku.setId(orderItem.getSkuId());
|
goodsSku.setId(orderItem.getSkuId());
|
||||||
|
goodsSku.setGoodsId(orderItem.getGoodsId());
|
||||||
//如果有促销信息
|
//如果有促销信息
|
||||||
if (null != orderItem.getPromotionType() && null != orderItem.getPromotionId()) {
|
if (null != orderItem.getPromotionType() && null != orderItem.getPromotionId()) {
|
||||||
//如果促销有库存信息
|
//如果促销有库存信息
|
||||||
|
@ -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');
|
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;
|
alter table li_member_evaluation modify column reply_image text;
|
||||||
|
|
||||||
|
/** 修改售后图片字段类型 **/
|
||||||
|
alter table li_after_sale modify column after_sale_image text;
|
Loading…
x
Reference in New Issue
Block a user