Authored by wangnan9279

fix

... ... @@ -32,7 +32,7 @@ public class UfoScoreProductRuleMqListener extends AbstractMqListener {
UfoScoreProductRule ufoScoreProductRule = ufoScoreProductRuleMapper.selectByPrimaryKey(Integer.valueOf(id));
ufoScoreProductRuleMapper.deleteByPrimaryKey(Integer.valueOf(id));
if (ufoScoreProductRule != null) {
ufoIndexUpdateHelper.updateUfoIndex(ufoScoreProductRule.getProductId());
ufoIndexUpdateHelper.updateYohoIndex(ufoScoreProductRule.getProductId());
}
}
... ... @@ -43,7 +43,7 @@ public class UfoScoreProductRuleMqListener extends AbstractMqListener {
return;
}
this.saveOrUpdate(ufoScoreProductRule);
ufoIndexUpdateHelper.updateUfoIndex(ufoScoreProductRule.getProductId());
ufoIndexUpdateHelper.updateYohoIndex(ufoScoreProductRule.getProductId());
}
private int saveOrUpdate(UfoScoreProductRule ufoScoreProductRule) {
... ...