Commit 0da4c245 by 春觉晓

修改延保配置

1 parent 8c0b7a25
...@@ -109,7 +109,7 @@ public class StrategyMerchantTimelineService { ...@@ -109,7 +109,7 @@ public class StrategyMerchantTimelineService {
*/ */
public void handlerAnxiousPackageShelveDate(MerchantBusinessInfo request, Date now, List<StrategyMerchantTimeline> nodes) { public void handlerAnxiousPackageShelveDate(MerchantBusinessInfo request, Date now, List<StrategyMerchantTimeline> nodes) {
//1.查询业务场景+门店 :安心包产品上架时间 //1.查询业务场景+门店 :安心包产品上架时间
Integer goodsType = environment.getProperty("dj.strategy.merchantTimeline.anxinbao.first", Integer.class, 114); Integer goodsType = environment.getProperty("dj.strategy.merchantTimeline.yanbao.first", Integer.class, 114);
Integer secondaryGoodsType = environment.getProperty("dj.strategy.merchantTimeline.anxinbao.second", Integer.class, 155); Integer secondaryGoodsType = environment.getProperty("dj.strategy.merchantTimeline.anxinbao.second", Integer.class, 155);
Date anxiousPackageShelveDate = getFirstShelveDate(request, goodsType, secondaryGoodsType); Date anxiousPackageShelveDate = getFirstShelveDate(request, goodsType, secondaryGoodsType);
if (anxiousPackageShelveDate != null) { if (anxiousPackageShelveDate != null) {
...@@ -123,7 +123,7 @@ public class StrategyMerchantTimelineService { ...@@ -123,7 +123,7 @@ public class StrategyMerchantTimelineService {
*/ */
public void handlerDelayedTireShelveDate(MerchantBusinessInfo request, Date now, List<StrategyMerchantTimeline> nodes) { public void handlerDelayedTireShelveDate(MerchantBusinessInfo request, Date now, List<StrategyMerchantTimeline> nodes) {
//1.查询业务场景+门店 :延保-轮胎上架时间 //1.查询业务场景+门店 :延保-轮胎上架时间
Integer goodsType = environment.getProperty("dj.strategy.merchantTimeline.delayedTire.first", Integer.class, 0); Integer goodsType = environment.getProperty("dj.strategy.merchantTimeline.yanbao.first", Integer.class, 0);
Integer secondaryGoodsType = environment.getProperty("dj.strategy.merchantTimeline.delayedTire.second", Integer.class, 0); Integer secondaryGoodsType = environment.getProperty("dj.strategy.merchantTimeline.delayedTire.second", Integer.class, 0);
Date delayedTireShelveDate = getFirstShelveDate(request, goodsType, secondaryGoodsType); Date delayedTireShelveDate = getFirstShelveDate(request, goodsType, secondaryGoodsType);
if (delayedTireShelveDate != null) { if (delayedTireShelveDate != null) {
...@@ -137,7 +137,7 @@ public class StrategyMerchantTimelineService { ...@@ -137,7 +137,7 @@ public class StrategyMerchantTimelineService {
*/ */
public void handlerDelayedBatteryShelveDate(MerchantBusinessInfo request, Date now, List<StrategyMerchantTimeline> nodes) { public void handlerDelayedBatteryShelveDate(MerchantBusinessInfo request, Date now, List<StrategyMerchantTimeline> nodes) {
//1.查询业务场景+门店 :延保-电池上架时间 //1.查询业务场景+门店 :延保-电池上架时间
Integer goodsType = environment.getProperty("dj.strategy.merchantTimeline.delayedBattery.first", Integer.class, 0); Integer goodsType = environment.getProperty("dj.strategy.merchantTimeline.yanbao.first", Integer.class, 0);
Integer secondaryGoodsType = environment.getProperty("dj.strategy.merchantTimeline.delayedBattery.second", Integer.class, 0); Integer secondaryGoodsType = environment.getProperty("dj.strategy.merchantTimeline.delayedBattery.second", Integer.class, 0);
Date delayedBatteryShelveDate = getFirstShelveDate(request, goodsType, secondaryGoodsType); Date delayedBatteryShelveDate = getFirstShelveDate(request, goodsType, secondaryGoodsType);
if (delayedBatteryShelveDate != null) { if (delayedBatteryShelveDate != null) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!