From b38d6892a01721b2b3688855bf62a164f3deed2c Mon Sep 17 00:00:00 2001 From: xhxu Date: Sat, 7 May 2022 16:40:24 +0800 Subject: [PATCH] //update bug --- .../com/iformall/service/impl/TtMerchantPoiServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java index 9cdf8e20d..65a71a0aa 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java @@ -841,7 +841,7 @@ public class TtMerchantPoiServiceImpl implements TtMerchantPoiService { ttCouponChannelPoiMapper.updateById(ccPoi); }else if(ttCouponChannelPoi == null){ ttCouponChannelPoi = new TtCouponChannelPoi(); - ttCouponChannelPoi.setId(Long.parseLong(spuDetail.getSpuExtId())); + ttCouponChannelPoi.setId(Long.parseLong(spuDraft.getSpuExtId())); ttCouponChannelPoi.updateTenantInfo(tenantInfo); ttCouponChannelPoi.setSpuId(spuDraft.getSpuId()); ttCouponChannelPoi.setStatus(EnumSpuSyncStatus.sync_auditing.getCode());