Authored by hugufei

增加具体的召回日志

@@ -105,7 +105,7 @@ public class RecallConfigService { @@ -105,7 +105,7 @@ public class RecallConfigService {
105 String sortBrandTypeKey = this.getSortBrandConfigKey(sortBrandType); 105 String sortBrandTypeKey = this.getSortBrandConfigKey(sortBrandType);
106 RecallSknCount recallSknCount = recallConfigProductService.queryRecallSknCount(pageId, sortBrandTypeKey, sortBrand); 106 RecallSknCount recallSknCount = recallConfigProductService.queryRecallSknCount(pageId, sortBrandTypeKey, sortBrand);
107 if (recallSknCount == null) { 107 if (recallSknCount == null) {
108 - RECALL_LOGGER.info("queryRecallSknCount,pageId is [{}],sortBrandType is [{}],RecallSknCount is[{}]", pageId, sortBrandType.name(), "null"); 108 + RECALL_LOGGER.info("queryRecallSknCount,pageId is [{}],sortBrandType is [{}],sortBrand is[{}], RecallSknCount is[{}]", pageId, sortBrand.key(), sortBrandType.name(), "null");
109 return null; 109 return null;
110 } 110 }
111 recallSknCount.setNewShelve(this.legallValue(recallSknCount.getNewShelve(), 0, 20)); 111 recallSknCount.setNewShelve(this.legallValue(recallSknCount.getNewShelve(), 0, 20));
@@ -114,7 +114,7 @@ public class RecallConfigService { @@ -114,7 +114,7 @@ public class RecallConfigService {
114 recallSknCount.setHeatValue(this.legallValue(recallSknCount.getHeatValue(), 0, 20)); 114 recallSknCount.setHeatValue(this.legallValue(recallSknCount.getHeatValue(), 0, 20));
115 recallSknCount.setReducePrice(this.legallValue(recallSknCount.getReducePrice(), 0, 20)); 115 recallSknCount.setReducePrice(this.legallValue(recallSknCount.getReducePrice(), 0, 20));
116 recallSknCount.setRandom(this.legallValue(recallSknCount.getRandom(), 0, 20)); 116 recallSknCount.setRandom(this.legallValue(recallSknCount.getRandom(), 0, 20));
117 - RECALL_LOGGER.info("queryRecallSknCount,pageId is [{}],sortBrandType is [{}],RecallSknCount is[{}]", pageId, sortBrandType.name(), JSON.toJSONString(recallSknCount)); 117 + RECALL_LOGGER.info("queryRecallSknCount,pageId is [{}],sortBrandType is [{}],sortBrand is[{}], RecallSknCount is[{}]", pageId, sortBrand.key(), sortBrandType.name(), JSON.toJSONString(recallSknCount));
118 return recallSknCount; 118 return recallSknCount;
119 } 119 }
120 120