Showing
1 changed file
with
3 additions
and
3 deletions
@@ -100,11 +100,11 @@ public class ProductMqListener extends AbstractMqListener { | @@ -100,11 +100,11 @@ public class ProductMqListener extends AbstractMqListener { | ||
100 | logger.info("[step(3/6)=getProductIBO][productId={}][cost={}ms]", productId, costStatistics.getCost()); | 100 | logger.info("[step(3/6)=getProductIBO][productId={}][cost={}ms]", productId, costStatistics.getCost()); |
101 | 101 | ||
102 | //2、增量时,为状态为1的skn生成newCodeId | 102 | //2、增量时,为状态为1的skn生成newCodeId |
103 | - Map<Integer, Integer> sknNewCodeMap = new HashMap<>(); | 103 | + Map<Integer, Integer> productSknCodeMap = new HashMap<>(); |
104 | if(productIBO.getStatus()==1){ | 104 | if(productIBO.getStatus()==1){ |
105 | - sknNewCodeMap = productSknCodeService.queryForIncrement(Arrays.asList(productIBO.getProductSkn())); | 105 | + productSknCodeMap = productSknCodeService.queryForIncrement(Arrays.asList(productIBO.getProductSkn())); |
106 | } | 106 | } |
107 | - productIBO.setNewCodeId(MapUtils.getIntValue(sknNewCodeMap,productIBO.getProductSkn(),0)); | 107 | + productIBO.setProductSknCode(MapUtils.getIntValue(productSknCodeMap,productIBO.getProductSkn(),0)); |
108 | logger.info("[step(4/6)=setNewCodeId][productId={}][cost={}ms]", productId, costStatistics.getCost()); | 108 | logger.info("[step(4/6)=setNewCodeId][productId={}][cost={}ms]", productId, costStatistics.getCost()); |
109 | 109 | ||
110 | // 3、构建ProductPrice | 110 | // 3、构建ProductPrice |
-
Please register or login to post a comment