Просмотр исходного кода

//..coupon_

release_toaliyun_real
xhxu 2 лет назад
Родитель
Сommit
e886ca15cb
2 измененных файлов: 4 добавлений и 0 удалений
  1. +3
    -0
      mallinkAdmin/src/main/resources/db/migration/V2023071200003_coupon_poi.sql
  2. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/TtCouponGoodsServiceImpl.java

+ 3
- 0
mallinkAdmin/src/main/resources/db/migration/V2023071200003_coupon_poi.sql Просмотреть файл

@@ -2,6 +2,9 @@ update tt_coupon_channel_poi set status = last_status,status_desc = last_status_


update tt_coupon_channel_poi set status = 2 where status = 4; update tt_coupon_channel_poi set status = 2 where status = 4;


ALTER TABLE `mallink`.`tt_coupon_channel_poi`
DROP INDEX `supplier_ext_id`;





INSERT INTO `mallink`.`mall_permission`(`id`, `name`, `parent_id`, `available`, `permission`, `resource_type`, `module_color`, `module_color_num`, `url`, `icon`, `version_type`, `sort`) VALUES (679, '抖音POI投放', 606, 'Y', NULL, 1, NULL, NULL, 'poiputon', NULL, 0, 679); INSERT INTO `mallink`.`mall_permission`(`id`, `name`, `parent_id`, `available`, `permission`, `resource_type`, `module_color`, `module_color_num`, `url`, `icon`, `version_type`, `sort`) VALUES (679, '抖音POI投放', 606, 'Y', NULL, 1, NULL, NULL, 'poiputon', NULL, 0, 679);


+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/TtCouponGoodsServiceImpl.java Просмотреть файл

@@ -407,6 +407,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService {
throw new Exception("未获取到抖音商品product_id"); throw new Exception("未获取到抖音商品product_id");
} }



syncCouponChannelPoi(coupon,wxCouponChannel.getId(),productId); syncCouponChannelPoi(coupon,wxCouponChannel.getId(),productId);


return new ResultData(); return new ResultData();


Загрузка…
Отмена
Сохранить