|
|
@@ -160,7 +160,7 @@ public class KafkaConsumer {
|
|
|
ProductDetailReq req = new ProductDetailReq();
|
|
|
req.setIds(ids);
|
|
|
Result result = productSupplyService.detailList(req);
|
|
|
-
|
|
|
+ Integer uniacid = 463;//463-云悦生活 465-云享生态
|
|
|
if (result.isSuccess()) {
|
|
|
|
|
|
List<OrderDetailDTO> list = JSONObject.parseArray(
|
|
|
@@ -176,12 +176,11 @@ public class KafkaConsumer {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- Boolean b = redisUtils.sismember(ProductSupplyRedis.SYNC_SUPPLY_ID, dto.getId().toString());
|
|
|
+ Boolean b = imsEweiShopGoodsService.existsBySupplyId(uniacid,dto.getId().toString());
|
|
|
+
|
|
|
if (!b) {
|
|
|
//不存在,则需要添加
|
|
|
|
|
|
- Integer uniacid = 463;//463-云悦生活 465-云享生态
|
|
|
-
|
|
|
//第一级
|
|
|
Long pcate = 0L;
|
|
|
//第二级
|