Commit 36ae66b9 by 刘宇峰

同步商品信息-修复代码bug

1 parent da0c8377
...@@ -25,7 +25,6 @@ import org.springframework.beans.factory.InitializingBean; ...@@ -25,7 +25,6 @@ import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import java.util.List; import java.util.List;
...@@ -323,7 +322,6 @@ public class GoodsService implements InitializingBean { ...@@ -323,7 +322,6 @@ public class GoodsService implements InitializingBean {
return goodsDetailResponses.size(); return goodsDetailResponses.size();
} }
@Transactional(propagation = Propagation.REQUIRES_NEW)
public void deleteOldGoodsOtherInfo(List<String> goodsSkuCodeList) { public void deleteOldGoodsOtherInfo(List<String> goodsSkuCodeList) {
if (CollectionUtils.isEmpty(goodsSkuCodeList)) { if (CollectionUtils.isEmpty(goodsSkuCodeList)) {
return; return;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!