Commit e443e88e by 吕明尚

修复修改门店不更新优惠卷配置

parent b34140c5
...@@ -213,12 +213,12 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme ...@@ -213,12 +213,12 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme
} }
SStore byId = getById(sStore.getId()); SStore byId = getById(sStore.getId());
int i = baseMapper.updateSStore(sStore); int i = baseMapper.updateSStore(sStore);
if (StringUtils.isNotBlank(sStore.getOpenShopUuid()) && StringUtils.isNotBlank(byId.getOpenShopUuid())) { if (StringUtils.isNotBlank(sStore.getOpenShopUuid())) {
if (!sStore.getOpenShopUuid().equals(byId.getOpenShopUuid())) { if (!sStore.getOpenShopUuid().equals(byId.getOpenShopUuid())) {
extracted(); extracted();
} }
} }
if (StringUtils.isNotBlank(sStore.getTiktokPoiId()) && StringUtils.isNotBlank(byId.getTiktokPoiId())) { if (StringUtils.isNotBlank(sStore.getTiktokPoiId())) {
if (!sStore.getTiktokPoiId().equals(byId.getTiktokPoiId())) { if (!sStore.getTiktokPoiId().equals(byId.getTiktokPoiId())) {
updateTiktok(); updateTiktok();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment